r893 - trunk

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Sun Sep 19 12:32:21 PDT 2004


Author: tushar
Date: 2004-09-19 13:32:18 -0600 (Sun, 19 Sep 2004)
New Revision: 893

Modified:
   trunk/intel-c-compiler.txt
Log:
Updated Hint: intel-c-compiler

Modified: trunk/intel-c-compiler.txt
===================================================================
--- trunk/intel-c-compiler.txt	2004-09-19 19:31:19 UTC (rev 892)
+++ trunk/intel-c-compiler.txt	2004-09-19 19:32:18 UTC (rev 893)
@@ -1,6 +1,6 @@
 AUTHOR: Daniel Baumann <daniel.baumann at panthera-systems.net>
 
-DATE: 2004-07-17
+DATE: 2004-09-19
 
 LICENSE: GNU General Public License
 
@@ -9,16 +9,16 @@
 PRIMARY URI: http://archive.daniel-baumann.ch/linux-from-scratch/hints/intel-c-compiler/
 
 DESCRIPTION:
-How to install the Intel C++ Compiler for Linux on your LFS-system.
+How to install the Intel C++ Compiler on your LFS-system.
 
 PREREQUISITES:
-A complete LFS-system with cpio and rpm2cpio.
+A complete LFS-system with cpio and rpm2cpio (instructions included in the hint).
 
 HINT:
 --------------------------------------------------------------------------------
 
-INTEL C++ COMPILER
-==================
+Intel C++ Compiler 8.1.021
+==========================
 
 
 1. Introduction to Intel C++ Compiler
@@ -34,242 +34,261 @@
 thereby also easy to integrate with existing development environments.
 
 
-1.1 Package information
-=======================
+1.1. Package information
+========================
 
-Download (FTP): ftp://download.intel.com/software/products/compilers/downloads/l_cc_p_8.0.055.tar.gz
+  * Download (FTP): ftp://download.intel.com/software/products/compilers/downloads/l_cc_p_8.1.021.tar.gz
 
-Download size: 65.8MB
+  * MD5 Sum: b6ac95b392c70980335c4601fa7a2396
 
+  * Download size: 131 MB
 
-1.2 Additional downloads
-========================
+  * Estimated build time: none
 
-Required license file:
-	The Intel C++ Compiler needs a key to unlock. It is free for research,
-	educational and private non-commercial purposes.
-	Download: http://www.intel.com/software/products/compilers/clin/noncom.htm
 
-	If you need a commercial license, see
-	http://www.intel.com/software/products/compilers/clin/pricelist.htm
-	how to proceed.
+1.2. Additional downloads
+=========================
 
+Required:
 
-1.3 Intel C++ Compiler depencies
-================================
+  * License file
 
-Required
-	cpio (see BLFS for instructions)
+    The Intel C++ Compiler needs a key to unlock. It is free for research or
+    educational and private non-commercial purposes. If you like to get
+    a commercial license, see
+    http://www.intel.com/software/products/compilers/clin/pricelist.htm.
 
-	rpm2cpio
-		Download (HTTP): http://www.rpm.org/tools/scripts/rpm2cpio.sh
+    Download: http://www.intel.com/software/products/compilers/clin/noncom.htm
 
-		Install rpm2cpio by running the following commands:
 
-		# cp rpm2cpio.sh /usr/bin
-		# chmod 755 /usr/bin/rpm2cpio
+1.3. Intel C++ Compiler dependencies
+====================================
 
+Required:
 
-2. Installation of Intel C++ Compiler
-=====================================
+  * cpio (see BLFS for instructions)
 
-Install the compiler by running the following commands:
+  * rpm2cpio
 
-	# rpm2cpio intel-icc8-8.0-44.i386.rpm | cpio -id
-	# rm -f opt/intel_cc_80/bin/uninstall.sh
-	# mv opt/intel_cc_80/bin/* /opt/bin
-	# mv opt/intel_cc_80/doc /opt/doc/icc
-	# mv opt/intel_cc_80/include/* /opt/include
-	# mv opt/intel_cc_80/lib/* /opt/lib
-	# mv opt/intel_cc_80/licenses /opt/doc/icc
-	# mv opt/intel_cc_80/man/man1/* /opt/man/man1
-	# rm -rf opt
+    Download (HTTP): http://www.rpm.org/tools/scripts/rpm2cpio.sh
 
-Install the debugger by running the following commands:
+    Install rpm2cpio by running the following commands:
 
-	# rpm2cpio intel-iidb7-7.3.1-85.i386.rpm | cpio -id
-	# rm -f opt/intel_idb_73/bin/uninstall.sh
-	# mv opt/intel_idb_73/bin/* /opt/bin
-	# mv opt/intel_idb_73/doc /opt/doc/idb
-	# mv opt/intel_idb_73/man/man1/* /opt/man/man1
-	# rm -rf opt
+   __________________________________________________________________________
+  |                                                                          |
+  |  cp rpm2cpio.sh /usr/bin/rpm2cpio                                        |
+  |  chmod 755 /usr/bin/rpm2cpio                                             |
+  |__________________________________________________________________________|
 
 
-3. Configuring Intel C++ Compiler
-=================================
+2. Installation of Intel C++ Compiler
+=====================================
 
 
-3.1 License file
-================
+2.1. Compiler installation
+==========================
 
-Install your license file with the following command:
+Install the compiler by running the following commands:
 
-	# cp l_cpp_*.lic /opt/doc/icc/licenses
+   __________________________________________________________________________
+  |                                                                          |
+  |  rpm2cpio intel-icc8-8.1-020.i386.rpm | cpio -id                         |
+  |  rm -f opt/intel_cc_80/bin/uninstall.sh                                  |
+  |  mv opt/intel_cc_80/bin/* /opt/bin                                       |
+  |  mv opt/intel_cc_80/doc /opt/doc/icc                                     |
+  |  mv opt/intel_cc_80/include/* /opt/include                               |
+  |  mv opt/intel_cc_80/lib/* /opt/lib                                       |
+  |  mv opt/intel_cc_80/licenses /opt/doc/icc                                |
+  |  mv opt/intel_cc_80/man/man1/* /opt/man/man1                             |
+  |  rm -rf opt                                                              |
+  |__________________________________________________________________________|
 
 
-3.2 Environment variables
-=========================
+2.2. Debugger installation
+==========================
 
-Replacements for the compiler:
+Install the debugger by running the following commands:
 
-	# cp /opt/bin/icc /opt/bin/icc.original
-	# sed -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \
-		-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \
-		-e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' \
-		-e 's/<INSTALLDIR>\/man/\/opt\/man/g' \
-		/opt/bin/icc.original > /opt/bin/icc
-	# rm -f /opt/bin/icc.original
+   __________________________________________________________________________
+  |                                                                          |
+  |  rpm2cpio intel-iidb8-8.1-030.i386.rpm | cpio -id                        |
+  |  rm -f opt/intel_idb_80/bin/uninstall.sh                                 |
+  |  mv opt/intel_idb_80/bin/* /opt/bin                                      |
+  |  mv opt/intel_idb_80/doc /opt/doc/idb                                    |
+  |  mv opt/intel_idb_80/man/man1/* /opt/man/man1                            |
+  |  rm -rf opt                                                              |
+  |__________________________________________________________________________|
 
-	# cp /opt/bin/iccvars.csh /opt/bin/iccvars.csh.original
-	# sed -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \
-		-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \
-		-e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' \
-		-e 's/<INSTALLDIR>\/man/\/opt\/man/g' \
-		/opt/bin/iccvars.csh.original > /opt/bin/iccvars.csh
-	# rm -f /opt/bin/iccvars.csh.original
 
-	# cp /opt/bin/iccvars.sh /opt/bin/iccvars.sh.original
-	# sed -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \
-		-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \
-		-e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' \
-		-e 's/<INSTALLDIR>\/man/\/opt\/man/g' \
-		/opt/bin/iccvars.sh.original > /opt/bin/iccvars.sh
-	# rm -f /opt/bin/iccvars.sh.original
+2.3. Uninstall script
+=====================
 
-	# cp /opt/bin/icpc /opt/bin/icpc.original
-	# sed -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \
-		-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \
-		-e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' \
-		/opt/bin/icpc.original > /opt/bin/icpc
-	# rm -f /opt/bin/icpc.original
+   __________________________________________________________________________
+  |                                                                          |
+  |  cat > /opt/bin/uninstall_intel-c-compiler.sh << "EOF"                   |
+  |  #!/bin/sh                                                               |
+  |                                                                          |
+  |  echo -n "Uninstalling Intel C++ Compiler: "                             |
+  |  rm -f /opt/bin/{Errormatch.txt,codecov,icc,icc.cfg,iccbin,iccfilt,\     |
+  |	iccvars.csh,iccvars.sh,icpc,icpc.cfg,icpcbin,icpi,mcpcom,prelink,\   |
+  |	profmerge,proforder,tselect,xiar,xild}                               |
+  |  rm -rf /opt/doc/icc                                                     |
+  |  rm -rf /opt/include/{c++,dvec.h,emm_func.h,emmintrin.h,float.h,fvec.h,\ |
+  |	ia32intrin.h,iso646.h,ivec.h,limits.h,mathf.h,mathimf.h,mmintrin.h,\ |
+  |	omp.h,pgouser.h,pmmintrin.h,proto.h,sse2mmx.h,stdarg.h,stdbool.h,\   |
+  |	stddef.h,syslimits.h,varargs.h,xarg.h,xmm_func.h,xmm_utils.h,\       |
+  |	xmmintrin.h}                                                         |
+  |  rm -f /opt/lib/{crtxi.o,crtxn.o,icrt.internal.map,icrt.link,\           |
+  |	libcprts.a,libcprts.so,libcprts.so.5,libcxa.a,libcxa.so,\            |
+  |	libcxa.so.5,libcxaguard.a,libcxaguard.so,libcxaguard.so.5,\          |
+  |	libguide.a,libguide.so,libguide_stats.a,libguide_stats.so,libimf.a,\ |
+  |	libimf.so,libirc.a,libirc_s.a,libompstub.a,libsvml.a,libunwind.a,\   |
+  |	libunwind.so,libunwind.so.5}                                         |
+  |  rm -f /opt/man/man1/{icc.1,icpc.1}                                      |
+  |  sed -i -e 's/source \/opt\/bin\/iccvars.sh//' /etc/profile              |
+  |  echo "done."                                                            |
+  |                                                                          |
+  |  echo -n "Uninstalling Intel Application Debugger: "                     |
+  |  rm -f /opt/bin/{idb,idb.el,idbvars.csh,idbvars.sh,iidb,mpirun_dbg.idb}  |
+  |  rm -rf /opt/doc/idb                                                     |
+  |  rm -f /opt/man/man1/idb.1                                               |
+  |  sed -i -e 's/source \/opt\/bin\/idbvars.sh//' /etc/profile              |
+  |  echo "done."                                                            |
+  |                                                                          |
+  |  rm -f /opt/bin/uninstall_intel-c-compiler.sh                            |
+  |  EOF                                                                     |
+  |                                                                          |
+  |  chmod 755 /opt/bin/uninstall_intel-c-compiler.sh                        |
+  |__________________________________________________________________________|
 
-	# cp /opt/doc/icc/csupport /opt/doc/icc/csupport.original
-	# sed -s 's/<installpackageid>/l_cc_p_8\.0\.055/' \
-		/opt/doc/icc/csupport.original > /opt/doc/icc/csupport
-	# rm -f /opt/doc/icc/csupport.original
 
-	# echo "source /opt/bin/iccvars.sh" >> /etc/profile
+3. Command explanations
+=======================
 
-Replacements for the debugger:
+The Intel C++ Compiler is non-free software. To separate it from the main
+system, installing in /opt is choosen.
 
-	# cp /opt/bin/idbvars.csh /opt/bin/idbvars.csh.original
-	# sed -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \
-		-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \
-		-e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' \
-		-e 's/<INSTALLDIR>\/man/\/opt\/man/g' \
-		/opt/bin/idbvars.csh.original > /opt/bin/idbvars.csh
-	# rm -f /opt/bin/idbvars.csh.original
 
-	# cp /opt/bin/idbvars.sh /opt/bin/idbvars.sh.original
-	# sed -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \
-		-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \
-		-e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' \
-		-e 's/<INSTALLDIR>\/man/\/opt\/man/g' \
-		/opt/bin/idbvars.sh.original > /opt/bin/idbvars.sh
-	# rm -f /opt/bin/idbvars.sh.original
+4. Configuring Intel C++ Compiler
+=================================
 
-	# cp /opt/doc/idb/idbsupport /opt/doc/idb/idbsupport.original
-	# sed -s 's/<INSTALLTIMECOMBOPACKAGEID>/l_cc_p_8\.0\.055/' \
-		/opt/doc/idb/idbsupport.original > /opt/doc/idb/idbsupport
-	# rm -f /opt/doc/idb/idbsupport.original
 
-	# echo "source /opt/bin/idbvars.sh" >> /etc/profile
+4.1. License file
+=================
 
+Install your license file with the following command:
 
-3.3 Uninstall scripts
-=====================
+   __________________________________________________________________________
+  |                                                                          |
+  |  cp *_cpp_l_*.lic /opt/doc/icc/licenses                                  |
+  |__________________________________________________________________________|
 
-Uninstall script for the compiler:
 
-	# cat > /opt/bin/uninstall-icc.sh << "EOF"
-	#!/bin/sh
+4.2. Environment variables
+==========================
 
-	echo -n "Uninstalling Intel C++ Compiler: "
+Configure the compiler by running the following commands:
 
-	rm -f /opt/bin/{Errormatch.txt,codecov,icc,icc.cfg,iccbin,iccfilt,iccvars.csh,iccvars.sh,icpc,icpc.cfg,icpcbin,icpi,mcpcom,profmerge,proforder,tselect,xiar,xild}
-	rm -rf /opt/doc/icc
-	rm -rf /opt/include/{c++,dvec.h,emm_func.h,emmintrin.h,float.h,fvec.h,iso646.h,ivec.h,limits.h,mathf.h,mathimf.h,mmintrin.h,omp.h,pgouser.h,pmmintrin.h,proto.h,sse2mmx.h,stdarg.h,stdbool.h,stddef.h,syslimits.h,varargs.h,xarg.h,xmm_func.h,xmm_utils.h,xmmintrin.h}
-	rm -f /opt/lib/{crtxi.o,crtxn.o,icrt.internal.map,icrt.link,libcprts.a,libcprts.so,libcprts.so.5,libcxa.a,libcxa.so,libcxa.so.5,libcxaguard.a,libcxaguard.so,libcxaguard.so.5,libguide.a,libguide.so,libguide_stats.a,libguide_stats.so,libimf.a,libimf.so,libirc.a,libircmt.a,libompstub.a,libsvml.a,libunwind.a,libunwind.so,libunwind.so.5}
-	rm -f /opt/man/man1/{icc.1,icpc.1}
-	rm -f /opt/bin/uninstall-icc.sh
+   __________________________________________________________________________
+  |                                                                          |
+  |  sed -i -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \      |
+  |	-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \                              |
+  |     -e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' \                              |
+  |     -e 's/<INSTALLDIR>\/man/\/opt\/man/g' /opt/bin/icc                   |
+  |                                                                          |
+  |  sed -i -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \      |
+  |	-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \                              |
+  |     -e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' \                              |
+  |     -e 's/<INSTALLDIR>\/man/\/opt\/man/g' /opt/bin/iccvars.csh           |
+  |                                                                          |
+  |  sed -i -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \      |
+  |	-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \                              |
+  |     -e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' \                              |
+  |     -e 's/<INSTALLDIR>\/man/\/opt\/man/g' /opt/bin/iccvars.sh            |
+  |                                                                          |
+  |  sed -i -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \      |
+  |	-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \                              |
+  |     -e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' /opt/bin/icpc                  |
+  |                                                                          |
+  |  sed -i -e 's/<installpackageid>/l_cc_p_8\.1\.021/' \                    |
+  |	/opt/doc/icc/csupport                                                |
+  |                                                                          |
+  |  echo "source /opt/bin/iccvars.sh" >> /etc/profile                       |
+  |__________________________________________________________________________|
 
-	grep -v "source /opt/bin/iccvars.sh" /etc/profile > /etc/profile.new
-	mv /etc/profile.new /etc/profile
 
-	echo "done."
-	EOF
+Configure the debugger by running the following commands:
 
-	# chmod 755 /opt/bin/uninstall-icc.sh
-	
-Uninstall script for the debugger:
+   __________________________________________________________________________
+  |                                                                          |
+  |  sed -i -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \      |
+  |	-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \                              |
+  |	-e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' \                              |
+  |	-e 's/<INSTALLDIR>\/man/\/opt\/man/g' /opt/bin/idbvars.csh           |
+  |                                                                          |
+  |  sed -i -e 's/<INSTALLDIR>\/licenses/\/opt\/doc\/icc\/licenses/g' \      |
+  |	-e 's/<INSTALLDIR>\/bin/\/opt\/bin/g' \                              |
+  |	-e 's/<INSTALLDIR>\/lib/\/opt\/lib/g' \                              |
+  |	-e 's/<INSTALLDIR>\/man/\/opt\/man/g' /opt/bin/idbvars.sh            |
+  |                                                                          |
+  |  sed -i -e 's/<INSTALLTIMECOMBOPACKAGEID>/l_cc_p_8\.1\.021/' \           |
+  |	/opt/doc/idb/idbsupport                                              |
+  |                                                                          |
+  |  echo "source /opt/bin/idbvars.sh" >> /etc/profile                       |
+  |__________________________________________________________________________|
 
-	# cat > /opt/bin/uninstall-idb.sh << "EOF"
-	#!/bin/sh
 
-	echo -n "Uninstalling Intel Application Debugger: "
+5. Contents
+===========
 
-	rm -f /opt/bin/{idb,idb.el,idbvars.csh,idbvars.sh,iidb,mpirun_dbg.idb}
-	rm -rf /opt/doc/idb
-	rm -f /opt/man/man1/idb.1
-	rm -f /opt/bin/uninstall-idb.sh
+The compiler package contains codecov, iccbin, iccfilt, icpcbin, icpi, mcpcom,
+prelink, profmerge, proforder, tselect, xiar, xild and crtxi.o, crtxn.o,
+icrt.internal.map, icrt.link, libcprts.a, libcprts.so, libcprts.so.5, libcxa.a,
+libcxa.so, libcxa.so.5, libcxaguard.a, libcxaguard.so, libcxaguard.so.5,
+libguide.a, libguide.so, libguide_stats.a, libguide_stats.so, libimf.a,
+libimf.so, libirc.a, libirc_s.a, libompstub.a, libsvml.a, libunwind.a,
+libunwind.so, libunwind.so.5 libraries.
 
-	grep -f "source /opt/bin/idbvars.sh" /etc/profile > /etc/profile.new
-	mv /etc/profile.new /etc/profile
+The debugger package contains iidb.
 
-	echo "done."
-	EOF
 
-	# chmod 755 /opt/bin/uninstall-idb.sh
+6. Description
+==============
 
+  * codecov
 
-4. Contents
-===========
+    Intel C++ Compiler code-coverage tool
 
-The compiler package contains
 
-	codecov, iccbin, iccfilt, icpcbin, icpi, mcpcom, profmerge, proforder,
-	tselect, xiar, xild
+  * idb
 
-programs and
+    Intel Application Debugger
 
-	crtxi.o, crtxn.o, icrt.internal.map, icrt.link, libcprts.a, libcprts.so,
-	libcprts.so.5, libcxa.a, libcxa.so, libcxa.so.5, libcxaguard.a,
-	libcxaguard.so, libcxaguard.so.5, libguide.a, libguide.so,
-	libguide_stats.a, libguide_stats.so, libimf.a, libimf.so, libirc.a,
-	libircmt.a, libompstub.a, libsvml.a, libunwind.a, libunwind.so,
-	libunwind.so.5
 
-libraries.
+  * iccbin
 
-The debugger package contains the
+    Intel C++ Compiler
 
-	iidb
 
-program.
+  * icpi
 
+    Intel Compilation Problem Isolator
 
-5. Description
-==============
 
-codecov
-	Intel C++ Compiler code-coverage tool
+  * tselect
 
-idb
-	Intel Application Debugger
+    Intel C++ Compiler test prioritizer
 
-iccbin
-	Intel C++ Compiler
-
-icpi
-	Intel Compilation Problem Isolator
-
-tselect
-	Intel C++ Compiler test prioritizer
-
 --------------------------------------------------------------------------------
 
 CHANGELOG:
-  [2004-07-17]
-    * Typographic mistakes corrected.
-  [2004-07-10]
-    * Initial revision.
+[2004-09-19]
+  * Updated to icc 8.1.021.
+[2004-09-09]
+  * Formal changes.
+  * Minor text changes.
+  * Added Command explanations.
+[2004-07-17]
+  * Typographic mistakes corrected.
+[2004-07-10]
+  * Initial revision.




More information about the hints mailing list