This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: libjava -vs- shared libgcc
- To: tromey at redhat dot com
- Subject: Re: Patch: libjava -vs- shared libgcc
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Thu, 22 Mar 2001 12:29:58 +1200
- CC: Java Patch List <java-patches at gcc dot gnu dot org>
- References: <87y9tz2c01.fsf@creche.redhat.com>
Tom Tromey wrote:
> Like the boehm-gc patch, this one is required to get libjava to build
> on PPC Linux. I'm checking this in on the trunk and the branch.
> @@ -416,7 +416,7 @@
> ## need this because we are explicitly using libtool to link using the
> ## `.la' file.
> jv_convert_LDFLAGS = --main=gnu.gcj.convert.Convert \
> - -rpath $(toolexeclibdir)
> + -rpath $(toolexeclibdir) -shared-libgcc
Are you sure that is the right thing to do? Won't it break libjava on platforms that really dont use a shared libgcc? Isn't this a
generic problem that needs to be fixed in the PowerPC compiler somewhere?
regards
[ bryce ]