View Full Version: Intel C++ Compiler

C++ Learning Community > C++ for Linux > Intel C++ Compiler


Title: Intel C++ Compiler
Description: problems linking dynamically


KTC - August 15, 2005 02:38 AM (GMT)
Downloaded the intel c++ compiler on gnu/linux with the non-commercial license. Been trying to get it to work. Anybody here has any experiences / knowledges / ideas that can help?

The C test file that comes with the docs compile and run fine. I'm also able to compile C++ program if I explicitly specify -static (prevents linking with shared libraries). However, I can't compile C++ programs if it requires linking to standard shared library. (i.e. don't specify -static).
QUOTE
ld: cannot find -lstdc++_shared
The installation should have already located the path to gcc install location and able to find where libstdc++_shared.so is. (I persume that's the file it's looking for. I could be very wrong) Tried explictly specifying the various gcc location directory that I can find, doesn't seems to work either whatever directory location or switch I pass to the compiler (apart from -static which end up producing an exectuable of around 1MB size for hello world).

Any idea anyone ?

donprogc++ - August 15, 2005 10:42 PM (GMT)
Only thing I could recomend is looking through this:
http://www.intel.com/cd/software/products/...clin/219831.htm

KTC - August 16, 2005 02:59 PM (GMT)
Don't you think I haven't? :P No help unfortunaly. :(

dr voodoo - August 16, 2005 05:10 PM (GMT)
QUOTE (KTC @ Aug 16 2005, 02:59 PM)
Don't you think I haven't?

The double negation gives the sentence a completly other meaning than you intended. ;)

As for the actual topic subject my only guess would be that the *.so was created with a GCC version that is binary incompatible with your Intel++ version.




Hosted for free by InvisionFree