Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-10-02 09:38:24


On 10/02/2004 06:54 AM, Larry Evans wrote:
[snip]
> After rm'ing the <hardcode-dll-paths> , it worked.
[snip]

I was wrong again. Don't know why it worked before, but no
longer.

> However, I'm wondering about the lines from "bjam -n" output which
> contain:
>
> -Wl,-Bdynamic -Wl,-Bstatic -Wl,-Bdynamic -Wl,-Bstatic
>
> Why the duplication? Also, "man ld" description of -Bstatic

Rm'ed all the -Wl,-Bstatic and now it seems to work. Also,
with gcc, the "bjam -n" only showed -shared link flag. More
precisely, the icc link.dll command was:

"icc" -g -o
"../../../../../bin.v2/lje/libs/io/filters/build/intel-linux/debug/mout.so"
-Wl,-h -Wl,mout.so -shared
"../../../../../bin.v2/lje/libs/io/filters/build/intel-linux/debug/mout.o"
-Wl,-Bdynamic -Wl,-Bstatic -Wl,-Bdynamic -Wl,-Bstatic

whereas the gcc link.dll command was:

"/usr/local/gcc-3.4.1/bin/g++" -g -o
"../../../../../bin.v2/lje/libs/io/filters/build/gcc/debug/mout.so"
-Wl,-h -Wl,mout.so -shared
"../../../../../bin.v2/lje/libs/io/filters/build/gcc/debug/mout.o"

Maybe the -B flags should be rm'ed from the intel commands?

 


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