Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-29 19:18:49

Jürgen Hunold <hunold+lists.Boost_at_[hidden]> writes:

> Am Mittwoch 29 Januar 2003 07:21 schrieb Vladimir Prus:
>> Jürgen Hunold wrote:
>> > Am Dienstag 28 Januar 2003 17:08 schrieb Vladimir Prus:
>> Oops, that's a documentation issue. You can say something like
> [...]
>> is given, you can look at rule "init" in something.jam to figure out
>> what configuration parameters can be passed.
> Thanks. Noted.
>> > (Hardcoding dll-path with -Wl,-rpath would be great, too).
>> Would adding -Wl,-rpath *anywhere* in the command line help? I though
>> that no, in which case this feature cannot be implemented
>> immediately.
> Well, I've adjusted my qmake-environment to put
> a -Wl,-rpath,$LIB -L$LIB -l$LIB for each library. Works very well at
> least for gcc-3.2.1 on linux. AFAIK you should be able to change the
> -Wl and -L options because they are independent.
>> > It does not work with qt-toolset. bjam says:
>> Oh, damn! I've changed some interface for the sake of stlport
>> toolset, and that broke qt. Really, plain regression tests are not
>> enough -- have to test examples too. Should be fixed now.
> Yes, thanks. I've already removed my hardcoded STLport support.
>> >>Support for debug mode is next thing --- once I figure out how to
>> Yea, that's what I though is right. Maybe it's just bad luck, but I
>> get linker errors, and if I add "-lpthread" I only reduce the number
>> of them. Maybe some configuration problem here.
> This is strange. You can mail me the output. Perhaps I can find
> something.

The GCC docs say:

Adds support for multithreading with the pthreads
library. This option sets flags for both the prepro-
cessor and linker.

Is "-pthread" (not -lpthread) getting into the command-line? I think
-pthread causes -lpthread to be added under-the-covers, but it adds
other needed stuff.

David Abrahams
dave_at_[hidden] *
Boost support, enhancements, training, and commercial distribution

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at