Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Programs installed in the compiler's ia32 directory are not 32-bit

$
0
0

Some of the programs in the ia32 directory installed with recent
compiler versions are 64-bit programs, presumably by accident.

For example:

  % source /opt/intel/compilers_and_libraries_2016.1.150/linux/bin/compilervars.csh ia32
  % cd /opt/intel/compilers_and_libraries_2016.1.150/linux/bin/ia32
  % file ifort

  produces
    ifort: ELF 32-bit LSB executable, Intel 80386, ...

  but
  % file icc produces
    icc: ELF 64-bit LSB executable, x86-64, ...

So, on a machine with a 32-bit version of Linux installed, ifort works correctly
but icc does not work:

  icc: Exec format error. Wrong Architecture.

Using the "file" command on all the files in the ia32 directory shows
that 10 out of 17 files are 64-bit.

Mick Pont

 


Viewing all articles
Browse latest Browse all 1616

Trending Articles