This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/25725] libtool -rpath works only for GNU ld, not for Sun ld
- From: "alex at milivojevic dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2006 15:35:12 -0000
- Subject: [Bug target/25725] libtool -rpath works only for GNU ld, not for Sun ld
- References: <bug-25725-11942@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from alex at milivojevic dot org 2006-01-24 15:35 -------
As a temporary workaround, I was thinking about changing Makefile.am files, and
regenerating Makefile.in so that they include both -rpath and -R when invoking
libtool (would work for me). Looking at files, only boehm-gc/Makefile.am and
libjava/Makefile.am have '-rpath' inthere. What to do with the rest of them?
What do I need to change so that when automake is run I get Makefile.in files
with both -rpath and -R?
There's couple of Makefile.in files that seem not to be generated by automake
(for example, libobjc/Makefile.in), I guess I can edit them directly.
There's also gcc/fortran, that doesn't have Makefile of its own. There's only
Make-lang.in, and it doesn't use libtool. Hmmm...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25725