This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build failure due to .incbin


A fourth option is to use a "bin2c" kind of build tool,

I was trying to avoid that, but


Except those symbols need to have an extra underscore in the
assembler source file, with the Darwin assembler.  (Sorry I
didn't mention this earlier, I only noticed after I sent the
mail).

this means none of my ideas will work. The syms created by "ld -r -b binary" don't have an extra underscore, probably a bug,

Darwin's ld has a "-b" flag with a completely different meaning. Oh why couldn't they have used binutils, heh.

and
deciding whether a host (rather than a target) needs the extra
underscore adds yet more mess to configure.

Oh well, bin2c is easy to write, especially if you steal SET_BINARY
from textutils.

Thanks Alan! This seems to work fine for me (I couldn't run "make check" since I botched its setup again; but my build goes flawlessly now, and the generated SPU overlay stuff looks good in visual inspection).


Segher



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]