This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: FYI: libgcj_bc library


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]