This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Fwd: [Cegcc-devel] Patches for cegcc on osx-powerpc (again, now cleaner)]
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Danny Backx <danny dot backx at scarlet dot be>
- Cc: binutils <binutils at sourceware dot org>
- Date: Sat, 18 Apr 2009 13:35:17 -0400 (EDT)
- Subject: Re: [Fwd: [Cegcc-devel] Patches for cegcc on osx-powerpc (again, now cleaner)]
- References: <1240032584.8895.352.camel@dannypc>
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.