Your ld should be able to link ELF files anyway, so just keep it generating ELF .o's and ld will do the translating for the final thing.
On Tue, Feb 9, 2010 at 5:12 PM, imacarthur <[email protected]> wrote: > > On 9 Feb 2010, at 20:39, Marcel Dejean wrote: > > > objcopy can be used to turn binaries (e.g. images) into .o's . this > > describes how to use it: > > http://www.linuxjournal.com/content/embedding-file-executable-aka- > > hello-world-version-5967 > > This works OK on linux (so is probably OK for the OP) but not for me > on OSX - I don't have a version of objcopy that can generate Mach-O > PPC binaries... A quick google suggests that I may not be alone in > this... > > However, Harvey's scheme using bin2h works fine cross-platform, > though I worry how it would cope with large binary files - I have a > vague recollection that there is (at least in some compilers) a limit > on how big a predefined array can be. > > > > > > _______________________________________________ > fltk mailing list > [email protected] > http://lists.easysw.com/mailman/listinfo/fltk > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

