ld: cannot find -lgcc_eh

ld: cannot find -lgcc_eh

Hi,

I was trying to build one component of a large software package using icc version 8.0. I used "-static-libcxa" to statically link icc libraries. However, it failedat the linking timebecause of the "ld: cannot find -lgcc_eh" error. What's the solution to this problem?
Notein order tolinkother components, which were built using gcc,as dynamic libraries, I have set the "-cxxlib-gcc"and "-gcc-name" options. Without "-static-libcxa", the compilation was fine.

Thanks.

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.