stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Black <>
Subject Re: [PATCH] Library path fix
Date Tue, 14 Nov 2006 16:11:23 GMT
Martin Sebor wrote:
> Andrew Black wrote:
> [...]
>> The SunPro documentation (on Solaris) states that the option is passed 
>> to ld, and both Solaris and Linux use that flag for the same purpose. 
>> Do we have SunPro installed on any of our Linux build servers?  I am 
>> not aware of it being available anywhere, but I could be mistaken.  If 
>> it is available, I'll run a test build there prior to committing the 
>> patch.
> If Linux has -R too it should be safe to check it in (Poul says
> we don't have a Linux machine with Sun C++ installed so we don't
> have an easy way of verifying it unless you want to check it
> with gcc).

I've tested on Linux with GCC and ICC using the '-Wl,-R$(LIBDIR)' switch 
to the compiler, and the desired behavior in the resulting executables 
is obtained.  I'll check the sunpro patch in shortly.  I intend to post 
a follow up patch at some point to make this same change for other 

--Andrew Black

> Martin
>> --Andrew Black

View raw message