Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

ifort error -cxxlib-gcc

florence_hagenepfl_c
891 Views
I have installed ifc 11.0 version 083 on a linux workstation running rhel 5.3 I64 bits.
The installation seems to be ok. But when I try to compile a program, an error occured:
ifort hello.f -o hello.o
ifort: error #10149: option '-cxxlib-gcc' not supported with the current installed GCC
Can you help me please.
gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)

g++ --version
g++ (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)

Thanks and regards.
0 Kudos
4 Replies
TimP
Honored Contributor III
891 Views
ifort hello.f -o hello.o
ifort: error #10149: option '-cxxlib-gcc' not supported with the current installed GCC

gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)

g++ --version
g++ (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)

We experienced a similar report. It appears to be a symptom of a problem with your g++ installation. Possibly, the mis-match between your gcc and g++ installations may indicate a problem. I would suggest upgrading the g++ to make it consistent with gcc.
0 Kudos
florence_hagenepfl_c
891 Views
Quoting - tim18
We experienced a similar report. It appears to be a symptom of a problem with your g++ installation. Possibly, the mis-match between your gcc and g++ installations may indicate a problem. I would suggest upgrading the g++ to make it consistent with gcc.
You're right! Everything is now ok. Thanks.
0 Kudos
Dny
Beginner
891 Views
You're right! Everything is now ok. Thanks.


How did you solve your problem ?
Can you please give me steps to resolve this error ?

I'm also getting same error for icc .

icc MatMul2D.cpp
icc: error #10149: option '-cxxlib-gcc' not supported with the current installed GCC

Following are my gcc and g++ version , but the versions are same so who to fix this error.
gcc --version
gcc (GCC) 4.2.4
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

g++ --version
g++ (GCC) 4.2.4
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Thankin you,

Regards,
Digambar
0 Kudos
TimP
Honored Contributor III
891 Views
Quoting - Dny
icc MatMul2D.cpp
icc: error #10149: option '-cxxlib-gcc' not supported with the current installed GCC

g++ --version
g++ (GCC) 4.2.4

As you have a problem with icpc, not with ifort, you might consider asking on the C++ forum, giving your icpc version, and a working example. g++ 4.2 might not work with icpc prior to 11.0. Some problems remain with major changes in STL for gcc 4.2.
0 Kudos
Reply