This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.1: Buildable on GHz machines only?
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.
Ian