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

gcc version for Intel Compiler 8.1

zvivered
Beginner
368 Views

We installed 8.1 on Red Hat that has gcc 4.1.2
When icc was executed it returned an error: Invalid GNU version (412)
Why does icc cares what is the gcc version installed ?

We want to work with gcc 4.3.2 cross toolchain we built using crosstool-ng
This gcc was used to compile the linux kerenl (2.6.27.35) from kernel.org
How can we tell icc to work with our gcc and not the one installed on the red hat ?

Is there a limitation on the glibc version contained in the gcc ?

Thanks.

0 Kudos
1 Reply
TimP
Honored Contributor III
368 Views
gcc 4.x certainly has some features which weren't supported by icc 8.1, particularly in C++.
With such an old version of icc, I believe you had to make the gcc you want active when installing icc (by putting it first on PATH) (unless you want to hack the configuration files). I would think the situations where you could use icc as a cross compiler would be extremely limited.
0 Kudos
Reply