Hi, I am having some problems linking on AIX with bjam using toolset=gcc. In my project I have one executable and one shared lib. Bjam generates the following linker command for the executable: "g++" -o <all-object-files> "../util/bin/gcc-4.2.4/debug/threading-multi/libspeedo_util.so" -lrt -g -Wl,-brtl -pthread -Wl,-blibpath:/usr/lib/:/speedo/lib:/usr/local/lib Now this results in an executable that does NOT look for libspeedo_util.so in any other directories than the relative path ../util/bin/gcc-4.2.4/debug/threading-multi! This is clearly not what I want. I found that if I link the executable manually like this (with -lspeedo_util and the corresponding -L) it works like expected: "g++" -L"../util/bin/gcc-4.2.4/debug/threading-multi" -o <all-object-files> -lspeedo_util -lrt -g -Wl,-brtl -pthread -Wl,-blibpath:/usr/lib/:/speedo/lib:/usr/local/lib So my guess is that the native AIX linker works different in this respect from the gcc linker on Linux. Is there an easy way to rewrite the linker command in gcc.jam with -L<path-to-lib> and -l<lib>? Cheers, Andrej __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html