Am 20.04.2009 um 23:00 schrieb Danny Backx:

> Ismail,
>
> This may be a good idea, can you check whether it works ?
>
>       Danny
>
> -------- Forwarded Message --------
>> From: Hans-Peter Nilsson <h...@bitrange.com>
>> To: Danny Backx <danny.ba...@scarlet.be>
>> Cc: binutils <binut...@sourceware.org>
>> Subject: Re: [Fwd: [Cegcc-devel] Patches for cegcc on osx-powerpc
>> (again, now cleaner)]
>> Date: Sat, 18 Apr 2009 13:35:17 -0400 (EDT)
>>
>> 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.

I've tried this on macosx , and it seems to work here, thank you!

I will just try tonight if still everything builds fine on cygwin and  
linux (just to be sure).

I'll let you know about the outcome of this and I will supply patches  
then.

Thank you for asking in the binutils ml about this!

Ismail

--
Ismail "Cerial" Khatib, http://pocketinsanity.org



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to