Linux: How to statically link against system libs?

Robert Clipsham robert at octarineparrot.com
Tue May 10 16:02:49 PDT 2011


On 10/05/2011 04:48, Nick Sabalausky wrote:
> "Adam D. Ruppe"<destructionator at gmail.com>  wrote in message
> news:iqa7bi$1djh$1 at digitalmars.com...
>> Nick Sabalausky wrote:
>>> 2. Remove "-L--no-warn-search-mismatch"
>>
>> Note for readers: this is in dmd.conf and is a relatively new thing.
>> My dmd 2.051 and older installs always worked, but with the 2.053
>> beta I just played with, had to make this change as well as
>> recompile dmd for stupid centos to work with it.
>>
>
> Do we know what that switch is for? Just curious.

I believe it was added along side 64 bit support so the linker didn't 
complain about both 64 bit and 32 bit libraries being available. Or 
something like that.

-- 
Robert
http://octarineparrot.com/


More information about the Digitalmars-d-learn mailing list