Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-01-01 13:56:50


> David Abrahams wrote:
>> How are people testing with intel-linux 8.0? I've just installed the
>> intel 8.0 compiler on my linux box and the toolset supplied by Boost
>> doesn't even come close to being configurable to target that compiler.
>>
>> I have a modified toolset, but I don't want to check anything in
>> until I know more.
>>
>> TIA,
>
> My intel-8.0-linux toolset looks rather simple:
>
> INTEL_LINUX_VERSION = "80" ;
> INTEL_LINUX_ROOT = "/opt/intel" ;
> include $(BOOST_ROOT)"/tools/build/v1/intel-linux-tools.jam" ;
>
>
> However, I created a symbolic link named "compiler80" in
> "/opt/intel". The link points to "/opt/intel_cc_80" which is
> the install location here. Additionally, I created another
> symbolic link named "ia32" inside "/opt/intel_cc_80". That
> link points to ".".
>
> This procedure worked fine for me, but I don't think
> this should be required to be done by the end-user.

What do you think of the enclosed patch?

 --=-=-= Content-Type: text/x-patch
Content-Disposition: attachment; filename=intel-linux.patch

--- intel-linux-tools.jam.~1.21.~ 2003-12-14 22:41:52.000000000 -0500
+++ intel-linux-tools.jam 2003-12-31 18:10:23.000000000 -0500
@@ -18,14 +18,12 @@
INTEL_LINUX_VERSION ?= "60" ;
}

-flags intel-linux INTEL_LINUX_VERSION : $(INTEL_LINUX_VERSION) ;
-
# Root directory
-flags intel-linux INTEL_LINUX_ROOT : "/opt/intel/compiler"$(INTEL_LINUX_VERSION) ;
+flags intel-linux INTEL_LINUX_ROOT : "/opt/intel_cc_"$(INTEL_LINUX_VERSION) ;
# Setup script
-flags intel-linux INTEL_LINUX_SETUP : ". "$(INTEL_LINUX_ROOT)"/ia32/bin/iccvars.sh" ;
+flags intel-linux INTEL_LINUX_SETUP : ". "$(INTEL_LINUX_ROOT)"/bin/iccvars.sh" ;
# Additional DLL directory
-flags intel-linux INTEL_LINUX_RUN_LD_LIBRARY_PATH : $(INTEL_LINUX_ROOT)"/ia32/lib" ;
+flags intel-linux INTEL_LINUX_RUN_LD_LIBRARY_PATH : $(INTEL_LINUX_ROOT)"/lib" ;

#### compiler and linker switches ####

 --=-=-=

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 --=-=-=-- 

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