This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH, v4] Use cygwin spawn functions


On 23/10/2010 18:45, Dave Korn wrote:
> On 23/10/2010 18:04, Joseph S. Myers wrote:
>> On Sat, 23 Oct 2010, Dave Korn wrote:
>>
>>>   It might be suitable to address this in gcc by adding "-Wl,--stack,4194304"
>>> or simlar to the host build flags.  Or there could be some kind of bug or
>> Toplevel config/mh-{mingw,cygwin} already contain
>>
>> LDFLAGS += -Wl,--stack,8388608
>>
>> for this purpose.
>>
> 
>   It's not working:
> 
>> admin@ubik /gnu/gcc/obj-lto
>> $ objdump -p gcc/cc1.exe | grep Stack
>> SizeOfStackReserve      00200000
>> SizeOfStackCommit       00001000
>>
>> admin@ubik /gnu/gcc/obj-lto
>> $
> 
>   (I'm sure we've had this discussion before in a java-related context.)

  Yep, found it(*).  The top-level config/mh-* flags are only used for stage1,
that's why.

    cheers,
      DaveK
-- 
(*) - http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00881.html
and related thread.


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