This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: work around libtool to fix alpha libgcj build
On Feb 11, 2005, Andrew Haley <aph@redhat.com> wrote:
> Alexandre Oliva writes:
>> On Feb 11, 2005, Andrew Haley <aph@redhat.com> wrote:
>>
>> > Richard Henderson writes:
>> >> now libgcj.a, the static library, is built with -fPIC. I mentioned
>> >> this to tromey on irc, and he thought that while it was
>> >> unfortunate, it'd be ok.
>>
>> > That ought to be a huge advantage, because it'll only be necessary to
>> > compile each java file once, rather than twice.
>>
>> But only if you were to compile them with --tag disable-static.
>> Otherwise, you compile them twice, but only use one of them.
> Can we not fix this?
We probably can. I just have no idea of how to accomplish this with
automake. Basically, you want to add --tag=disable-static before (or
right after) --tag={CC,CXX,GCJ} --mode=compile.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}