This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Auto-rpath revisited...
- To: leei at ai dot sri dot com (Lee Iverson)
- Subject: Re: Auto-rpath revisited...
- From: hjl at lucon dot org (H.J. Lu)
- Date: Mon, 23 Feb 1998 16:50:10 -0800 (PST)
- Cc: tv at pobox dot com, rth at cygnus dot com, oliva at dcc dot unicamp dot br, ian at cygnus dot com, egcs at cygnus dot com
> > What do you do in a cross-compile environment?
>
> As H.J. Lu already pointed out, this functionality is disabled in
> cross-sompile environment.
>
I still don't like collect2 adds rpath for me. However, I don't
mind g++/c++ does it since it knows where libstdc++ is installed
during configuration. I think the best solution is
1. g++/c++ passes "--try-rpath installed_libdir" to collect2.
2. collect adds -rpath installed_libdir to ld if installed_libdir if
it is used by ld for libstdc++.so.
--
H.J. Lu (hjl@gnu.org)