Boost logo

Boost-Build :

From: Peter Simons (simons_at_[hidden])
Date: 2005-04-18 10:39:41


Vladimir Prus writes:

> Can you run

> "icpc" -v -o "util/foo/bin/intel-linux-8.0/debug/bar.so" -Wl,-h
> -Wl,bar.so -shared "util/foo/bin/intel-linux-8.0/debug/bar.o" -g

> (i.e. with the -v switch), so that we know what linker command is used?

No problem:

$ "icpc" -v -o "util/foo/bin/intel-linux-8.0/debug/bar.so" \
-Wl,-h -Wl,bar.so -shared \
"util/foo/bin/intel-linux-8.0/debug/bar.o" -g
Version 8.0
/usr/bin/ld /usr/lib/crti.o
/opt/intel/compiler80/lib/crtxi.o -shared --version-script \
/opt/intel/compiler80/lib/icrt.internal.map -o \
util/foo/bin/intel-linux-8.0/debug/bar.so -h bar.so \
util/foo/bin/intel-linux-8.0/debug/bar.o -Qy \
-L/opt/intel/compiler80/lib -L/usr/lib -Bstatic -limf \
-Bdynamic -lm -Bstatic -Bdynamic -lcprts -lcxa -lunwind \
-Bdynamic -Bstatic -lirc -Bdynamic -lc -Bstatic -lirc \
/opt/intel/compiler80/lib/crtxn.o /usr/lib/crtn.o
/usr/bin/ld: -static and -shared may not be used together

Peter

 


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