07-03-2011 11:31 AM
I'm using 64-bit Arch Linux, and just installed the non-commersial version of Intel C++ 2011 XE (c_studio_xe_2011_update2.tgz, around 1.4 GB, which does 32 & 64 bit). In /opt/intel/bin, I tried "./compilervars.sh ia32", and when I compiled a simple code:
Then I tried to use "-m32" paramater, and the result was:
catastrophic error: Compiler configuration problem encountered. The expected target architecture compiler is missing (12.0-ia32 != 12.0-intel64)
compilation aborted for test.c (code 1)
What should I do, so I can generate 32-bit code properly?
07-03-2011 09:57 PM
You should cd to a user owned directory where you have permissions to read and write files, then, as mecej4 said, source the compilervars script. The compiler won't work for compiling in its own installation directory; at least not with standard permission settings.