Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-09-04 18:11:22


On 09/04/2004 05:45 PM, David Abrahams wrote:
> Larry Evans <cppljevans_at_[hidden]> writes:
[snip]
>
> Err... does
>
> bjam --v2 gcc --link-runtime=static
>
> work?
>
Nope. Here's the output:

<---------------

bjam --v2 gcc --link-runtime=static
...patience...
...found 493 targets...
...updating 3 targets...
gcc.link
../../../../bin.v2/lje/libs/managed_ptr/test/cycle_basis_mgr.test/gcc/debug/cycle_basis_mgr
testing.capture-output
../../../../bin.v2/lje/libs/managed_ptr/test/cycle_basis_mgr.test/gcc/debug/cycle_basis_mgr.run
====== BEGIN OUTPUT ======
../../../../bin.v2/lje/libs/managed_ptr/test/cycle_basis_mgr.test/gcc/debug/cycle_basis_mgr:
error while loading shared libraries: libstdc++.so.6: cannot open shared
object file: No such file or directory

EXIT STATUS: 127
====== END OUTPUT ======

>------------------

Thanks for the reply though. I've done -d5 and got the command line:

"/usr/local/gcc-3.4.1/bin/g++" -g
-o
"../../../../bin.v2/lje/libs/managed_ptr/test/cycle_basis_mgr.test/gcc/debug/cycle_basis_mgr"

"../../../../bin.v2/lje/libs/managed_ptr/test/cycle_basis_mgr.test/gcc/debug/cycle_basis_mgr.o"
"../../../../bin.v2/lje/libs/managed_ptr/test/cycle_basis_mgr.test/gcc/debug/mout.o"

however, what's needed is:

"/usr/local/gcc-3.4.1/bin/g++" -g
-Wl,--rpath -Wl,/usr/local/gcc-3.4.1/lib
-o
"../../../../bin.v2/lje/libs/managed_ptr/test/cycle_basis_mgr.test/gcc/debug/cycle_basis_mgr"

"../../../../bin.v2/lje/libs/managed_ptr/test/cycle_basis_mgr.test/gcc/debug/cycle_basis_mgr.o"
"../../../../bin.v2/lje/libs/managed_ptr/test/cycle_basis_mgr.test/gcc/debug/mout.o"

But I can't figure how to do that. It seens user-config.jam ought to be
the place to specify this, but I don't know how. Maybe you have some
ideas?

Thanks.
Larry

 


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