Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2007-08-02 15:00:11


Roland Schwarz wrote, on 8/2/2007 2:45 PM:
> Caleb Epstein wrote:
>
>> lrwxrwxrwx 1 cepstein 33 Aug 2 13:44 libboost_date_time-mt-d.so ->
>> libboost_date_time-mt-d.so.1.35.0
>> -rwxrwxr-x 1 cepstein 388K Aug 2 13:44 libboost_date_time-mt-d.so.1.35.0
>> lrwxrwxrwx 1 cepstein 31 Aug 2 13:44 libboost_date_time-mt.so ->
>> libboost_date_time-mt.so.1.35.0
>> -rwxrwxr-x 1 cepstein 52K Aug 2 13:44 libboost_date_time-mt.so.1.35.0
>> ...
>>
>
> This sounds very reasonable.
>
> Btw.: I have a question about static linking.
> Do you know how this is supposed to happen on linux?
>
> I mean the -lmylib AFAIK always will choose the .so in favour of the .a.
> Is there a way to force static linking?
>
> Thank you
> Roland

The gcc toolset (and msvc, for that matter) puts the paths to the static
libraries on the link line instead of using the "-l" option
("../../bin/gcc/release/link-static/mylib.a" instead of "-lmylib", e.g.).

Phillip


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk