stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <>
Subject Re: [PATCH] RE: Cygwin cannot find -lstd12d
Date Wed, 14 Mar 2007 19:33:01 GMT
Farid Zaripov wrote:
>> -----Original Message-----
>> From: Andrew Black [] 
>> Sent: Tuesday, March 13, 2007 9:44 PM
>> To:
>> Subject: Re: [PATCH] RE: Cygwin cannot find -lstd12d
>> I have concerns about the change to makefile.rules.  
>> Including $(LIBDIR) in the PATH variable on all platforms 
>> creates the potential for mishaps on other platforms, though 
>> the probability of such mishaps is small.
>> Could you try setting the RPATH makefile variable to 
>> '-Wl,-rpath,' and see if that accomplishes the same result?  
>> The logic chain used to set this variable for the GCC 
>> compiler can be found around lines 135 through
>> 161 of the gcc.config file.
>   I have tried to use -rpath option, but it doesn't work.
> The ld doesn't show any error's, but also has no effect.

My guess is that the Windows dynamic loader is too dumb
to support the equivalent of -rpath. The MSDN page on
the Dynamic-Link Library Search Order seems to confirm

I'm not sure if we should bother to look at Dynamic-Link
Library Redirection as a possible solution:


View raw message