This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: libjava -vs- shared libgcc
Tom Tromey wrote:
> Bryce> Are you sure that is the right thing to do? Won't it break
> Bryce> libjava on platforms that really dont use a shared libgcc?
> Bryce> Isn't this a generic problem that needs to be fixed in the
> Bryce> PowerPC compiler somewhere?
>
> Maybe it needs to be fixed in the compiler. I don't know. As far as
> I can tell the compiler is working how it was planned to work.
On i686 linux, "-shared-libgcc" is the default when building a shared
library. So, it seems wrong that we'd have to do it differently on
PowerPC.
> I agree with your assessment though. I'll change it so that
> -shared-libgcc will only be used when --enable-shared is in effect.
>
> I didn't even consider static-only hosts when I wrote this :-(
I think I read somewhere that some platforms will always use a static
libgcc, even if shared libraries are supported for things like libgcj.
regards
[ bryce ]