This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Build libgcj, libgcj-tools, and libffi as shared libraries on Windows
- From: Ian Lance Taylor <iant at google dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: Dave Korn <dave dot korn dot cygwin at googlemail dot com>, gcc-patches at gcc dot gnu dot org, "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>, java-patches at gcc dot gnu dot org
- Date: Tue, 14 Apr 2009 17:02:50 -0700
- Subject: Re: [PATCH] Build libgcj, libgcj-tools, and libffi as shared libraries on Windows
- References: <48B0BD19.8080300@aaronwl.com> <200904120009.17477.pedro@codesourcery.com> <49E12774.9070900@gmail.com> <200904120052.50963.pedro@codesourcery.com>
Pedro Alves <pedro@codesourcery.com> writes:
> On Sunday 12 April 2009 00:27:48, Dave Korn wrote:
>> Pedro Alves wrote:
>> > On Saturday 11 April 2009 19:22:25, Dave Korn wrote:
>> >>>> Index: gcc/config/i386/t-cygming
>> >>>> +jc1$(exeext): LDFLAGS+=-Wl,-stack,0x8000000
>>
>> > Isn't this a *host* issue rather than a *target* problem? If so, it would
>> > seem to me that a t-* file would be the wrong place for this.
>>
>> Oh, yeh. It's host, not target. I forgot to think cross-compiler. Host
>> makefile frags are "discouraged", but I see there is already an x-cygwin, so I
>> guess I should try it there?
>
> Looks like there's precedent for something like that:
>
>>cat gcc/config/rs6000/x-aix
> # genautomata requires more than 256MB of data
> build/genautomata : override LDFLAGS += -Wl,-bmaxdata:0x20000000
>
> # jc1 requires more than 256MB of data
> jc1 : override LDFLAGS += -Wl,-bmaxdata:0x20000000
See also top level config/mh-mingw.
Ian