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?
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.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."