[PATCH] Build libgcj, libgcj-tools, and libffi as shared libraries on Windows

Pedro Alves pedro@codesourcery.com
Sat Apr 11 23:58:00 GMT 2009


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

-- 
Pedro Alves



More information about the Java-patches mailing list