This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: libgcj_bc library
- From: Tom Tromey <tromey at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: 16 Aug 2006 19:44:32 -0600
- Subject: Re: Patch: FYI: libgcj_bc library
- References: <m3k658w5rv.fsf@localhost.localdomain> <20060817010933.GA24201@lucon.org>
- Reply-to: tromey at redhat dot com
>>>>> "H.J." == H J Lu <hjl@lucon.org> writes:
H.J.> I don't believe this make rule will work with "make install DESTDIR=...".
Yes, how odd. Perhaps the FC spec file doesn't install this way.
H.J.> This patch on top of it seems to work for me.
H.J.> + cd $(DESTDIR)$(toolexeclibdir); \
H.J.> + rm libgcj_bc.so; \
H.J.> + mv libgcj_bc.so.1.0.0 libgcj_bc.so; \
H.J.> $(libgcj_bc_dummy_LINK) -xc /dev/null -Wl,-soname,libgcj_bc.so.1 \
Can libgcj_bc_dummy_LINK be a relative path to xgcc?
It seems like it would be safer not to 'cd' to the install dir here.
Otherwise, looking good.
Tom