This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Add -rpath-link for sysroot'd Solaris builds
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 19 Dec 2003 16:22:40 -0500
- Subject: Re: PATCH: Add -rpath-link for sysroot'd Solaris builds
- References: <200312182008.hBIK8daT019551@sirius.codesourcery.com>
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