GCC 4.1: Buildable on GHz machines only?

Andrew Haley aph@redhat.com
Fri Apr 29 17:30:00 GMT 2005


Andreas Schwab writes:
 > Ian Lance Taylor <ian@airs.com> writes:
 > 
 > > Andrew Haley <aph@redhat.com> writes:
 > >
 > >> Ian Lance Taylor writes:
 > >>  > 
 > >>  > And, yes, we clearly need to do something about the libjava build.
 > >> 
 > >> OK, I know nothing about libtool so this might not be possible, but
 > >> IMO the easiest way of making a dramatic difference is to cease to
 > >> compile every file twice, once with PIC and once without.  There would
 > >> be a small performance regression for statically linked Java apps, but
 > >> in practice Java is very hard to use with static linkage.
 > >
 > > Try putting
 > >
 > > enable_shared=no
 > >
 > > in configure.ac somewhere before AC_PROG_LIBTOOL.
 > 
 > I think you rather want AC_DISABLE_STATIC.

Won't that disable static libraries?  I don't want to do that.

Andrew.



More information about the Gcc mailing list