[Fwd: [Cegcc-devel] Patches for cegcc on osx-powerpc (again, now cleaner)]
Hans-Peter Nilsson
hp@bitrange.com
Sat Apr 18 17:35:00 GMT 2009
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.
More information about the Binutils
mailing list