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: Add -rpath-link for sysroot'd Solaris builds


On Thu, Dec 18, 2003 at 12:08:39PM -0800, Mark Mitchell wrote:
> 
> This patch makes --with-sysroot builds for Solaris 2.8 work
> correctly.  We have to include -rpath-link so that references to
> libdl.so (for example) are resolved correctly.
> 
> Tested by building --with-sysroot cross compilers and building small
> test programs, applied on the mainline and on the 3.3 branch.

Eh, I don't believe this is correct.  It's not harmful though.

This is exactly the reason that I added --with-sysroot to the GNU
binutils also.  Did you use that?  If so, did it have some trouble that
-rpath-link solved?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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