Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-04-27 16:12:54


Richard Hadsell wrote:

> I am upgrading from Boost 1.30.0 to 1.31.0, trying to use bjam for the
> first time to build the libraries (including Regex). When building for
> intel-linux, I read (tools/build/v1/intel-linux-tools.html) that bjam
> would be able to find the compiler from the location of the iccvars.sh
> script. This did not work.
>
> Evidence:
>
> 162% which iccvars.sh
> /usr/local/intel/compiler80/ia32/bin/iccvars.sh
> 163% which icc
> /usr/local/intel/compiler80/ia32/bin/icc
>
> Despite both of these being in my PATH, bjam tried to look elsewhere:
>
> 168% bjam "-sTOOLS=intel-linux" --stagedir=stage "-sBUILD=debug release
> <threading>single" stage
> [snip]
> intel-linux-C++-action
> bin/boost/libs/date_time/build/libboost_date_time.so/intel-linux/debug/shared-linkable-true/greg_month.o
>
> /bin/sh: /opt/intel/compiler70/ia32/bin/iccvars.sh: No such file or
> directory
>
> Specifying the version number did not help:
>
> 169% bjam "-sTOOLS=intel-linux" "-sINTEL_VERSION=80" --stagedir=stage
> "-sBUILD=debug release <threading>single" stage
> [snip]
> intel-linux-C++-action
> bin/boost/libs/date_time/build/libboost_date_time.so/intel-linux/debug/shared-linkable-true/greg_month.o
>
> /bin/sh: /opt/intel_cc_80/bin/iccvars.sh: No such file or directory

It's the simple problem that we haven't updated the
intel-linux-tools.jam to account for the new 8.0 version. I'll try and
do that ASAP.

In the mean time you should be able to specify the location directly. In
your case (from the above comments) use these options:

        -sINTEL_VERSION=80 -sINTEL_PATH=/usr/local/intel/compiler80/ia32

I have a question though, normally the Intel compiler installs to
/opt/intel. How did you make it install to /usr/local?

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk