- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to compile a program and get this error. How do I fix it?
gcc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)
I installed the latest SDK (xcode 3.1.2).
/Developer/usr/bin contains
i686-apple-darwin9-g++-4.0.1
i686-apple-darwin9-g++-4.2.1
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error indicates exceeding the supported version of gcc/g++ for version of ifort used.
Can you get ifort to identify itself with: ifort -V
You should try uninstalling the SDK as that may have taken gcc/g++ beyond the versions supported by your version of ifort.
Our 10.1 and 11.0 releases both support Xcode 3.1.x. See the URL below for the current compiler/Xcode supported versions.
http://software.intel.com/en-us/articles/performance-tools-for-software-developers-compatibility-of-intel-compiler-for-mac-os-x-and-xcode/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Kevin Davis (Intel)
The error indicates exceeding the supported version of gcc/g++ for version of ifort used.
Can you get ifort to identify itself with: ifort -V
% ifort -V
Intel Fortran Compiler Professional for applications running on Intel 64, Version 11.0 Build 20090131 Package ID: m_cprof_p_11.0.059
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
I see that your question was answered in Premier, with you finding the fix in deinstalling Xcode and reinstalling everything (including the Intel compiler, I assume).
There was another user with a similar error not too long ago. I'd like to document the debug procedure for future Forum readers:
Please provide the output from the following commands:
ifort -V
gcc --version
g++ --version
sw_vers
echo $GXX_ROOT
The Intel Fortra compiler uses the libraries provided with gcc and g++ and invokes
these compilers to determine the directory path to the libraries.
The error message will sometimes occur when the compiler has a problem locating
gcc or g++.
But we're still not sure how either your system or this other user's got into it's state. Did you install Xcode 3.1.2 AFTER the compiler? I'd like to better understand how you think your system got into it's bad state.
thanks
ron
I see that your question was answered in Premier, with you finding the fix in deinstalling Xcode and reinstalling everything (including the Intel compiler, I assume).
There was another user with a similar error not too long ago. I'd like to document the debug procedure for future Forum readers:
Please provide the output from the following commands:
ifort -V
gcc --version
g++ --version
sw_vers
echo $GXX_ROOT
The Intel Fortra compiler uses the libraries provided with gcc and g++ and invokes
these compilers to determine the directory path to the libraries.
The error message will sometimes occur when the compiler has a problem locating
gcc or g++.
But we're still not sure how either your system or this other user's got into it's state. Did you install Xcode 3.1.2 AFTER the compiler? I'd like to better understand how you think your system got into it's bad state.
thanks
ron
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page