Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

How to use 32 bit version with intel icc compiler

ShaliniSal_B_Intel
860 Views

Hi,

I have been using the intel icc compiler 64 bit version with no issues. But when i want to use the 32 bit version with the following steps,

source /opt/intel/system_studio_2019/compilers_and_libraries_2019.5.281/linux/bin/compilervars.sh ia32

 /opt/intel/system_studio_2019/compilers_and_libraries_2019.5.281/linux/bin/ia32/icc  file.c

I get the below error

because of this im getting this icc: error #10417: Problem setting up the Intel(R) Compiler compilation environment.  Requires 'install path' setting gathered from 'i686-linux-android-gcc'

 I have checked on my machine even with source compilervars.sh ia32, which icc points to the 64 bit version..

/src/cel_ww47_b_icc$ which icc

/opt/intel/system_studio_2019/compilers_and_libraries_2019.5.281/linux/bin/intel64/icc

can anyone please help me ?

Note: I have tried some locale settings with LC_MESSAGES=L=POSIX bit with no luck

0 Kudos
1 Reply
Viet_H_Intel
Moderator
860 Views

what would you see if you run "icc -V" after source /opt/intel/system_studio_2019/compilers_and_libraries_2019.5.281/linux/bin/compilervars.sh ia32?

0 Kudos
Reply