- 论坛徽章:
- 1
|
Hi, I have been successful at getting the Intel C/C++ compiler to work in Debian. Here's what I did. Hope it helps.
--
Dan
1) Download Linux version of compiler and extract rpm's
2) Use alien to convert the rpm's to .deb packages
3) Install the deb packages, and copy your license to /opt/intel/cc/9.0/licenses directory
4) Replace every occurance of <INSTALLDIR> with /opt/intel/cc/9.0 for every file in /opt/intel/cc/9.0/bin. The script below will do this for you. Save it as replace.sh, make it executable, and then call:
replace.sh "<INSTALLDIR>" "\/opt\/intel\/cc\/9.0" /opt/intel/cc/9.0/bin
#!/bin/bash
fileList=`grep -l $1 $3/*`
for file in $fileList
do
echo "$file"
sed "s/$1/$2/g" $file > $file.new
mv $file.new $file
done |
|