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: [Fwd: [Cegcc-devel] Patches for cegcc on osx-powerpc (again, now cleaner)]


On Sat, 18 Apr 2009, Danny Backx wrote:
> Included below is the relevant part of a patch I received.
>
> A new version of MacOS X introduces the STACKSIZE symbol, this breaks
> the build of binutils/ld.
>
> My suggestion was to use #ifdef to keep STACKSIZE as a symbol except on
> the platform that breaks it. That may not be possible (bison/yacc
> restriction ?).
>
> What would be the best approach ?

Arranging to #undef the system-header macro after including that
header but before the ld definition; possibly moving the header
include?

brgds, H-P
PS: No, I didn't actually look.  Feel free to ignore.


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