Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-19 08:56:33


On Monday 18 April 2005 19:39, Peter Simons wrote:
> 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

I've replaced /opt/intel/compiler80 in this command with /opt/intel_cc_80 and
run it. It worked without any errors.

Let's try again:
1. Did you update ld recently
2. Did you update intel recently.
3. Does
"icpc" -shared -o bar.so
"util/foo/bin/intel-linux-8.0/debug/bar.o"
work?
4. Does
icpc -shared util/foo/bar.cpp
work?
5. What does /opt/intel/compiler80/lib/icrt.internal.map contain?

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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