This is the mail archive of the gcc@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]

Re: Auto-rpath revisited...


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


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