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

Mac OS X 10.6

Peter_Y_
Beginner
466 Views
I just upgraded from Mac OS X 10.5.8 to 10.6 (Snow Leopard). My Intel fortran and C++ compilers are version 10.1.
I have a code which required libstdc++ to be linked so I give library option -lstdc++ in the Makefile. Everything was fine with OS X 10.5.8 but when I upgraded to Snow Leopard the linking bombs with error message

ld: library not found for -lstdc++

(though there is such a library in /usr/lib).

Is the problem with the Mac OS, or do I need to upgrade the Intel compilers, or is it something else?

Any help would be appreciated.

Thank you,

Peter Young

0 Kudos
2 Replies
levicki
Valued Contributor I
466 Views
I just upgraded from Mac OS X 10.5.8 to 10.6 (Snow Leopard). My Intel fortran and C++ compilers are version 10.1.
I have a code which required libstdc++ to be linked so I give library option -lstdc++ in the Makefile. Everything was fine with OS X 10.5.8 but when I upgraded to Snow Leopard the linking bombs with error message

ld: library not found for -lstdc++

(though there is such a library in /usr/lib).

Is the problem with the Mac OS, or do I need to upgrade the Intel compilers, or is it something else?

Any help would be appreciated.

Thank you,

Peter Young


I might be mistaken but if I remember correctly there is a command which can rebuild linker cache and regenerate symlinks -- it's called ldconfig [http://linux.die.net/man/8/ldconfig]. Might want to check it out.
0 Kudos
Quoc-An_L_Intel
Moderator
466 Views
Check here for Intel compiler version, and support OS/Xcode combination.

http://software.intel.com/en-us/articles/performance-tools-for-software-developers-compatibility-of-intel-compiler-for-mac-os-x-and-xcode/

Support for OSX 10.6 / Xcode 3.2 is now available for download, version 11.1.067.
0 Kudos
Reply