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

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 obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.