Library not found: crt0


Problem : Missing library libcrt0.a during static link of application on Mac OS X


Environment : Mac OS X 10.5.6 and earlier, Intel Compilers for Mac OS* X (both C++ and Fortran)


Root Cause : Apple limitation, not recommended to statically link against Mac OS X System Libraries
See:
http://developer.apple.com/qa/qa2001/qa1118.html


Resolution : Users seeing this error are using -static compiler/linker option.  Use -static-intel instead.  This links the Intel libraries statically, but uses dynamic linking of Mac OS X system libraries.




Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.