ld: cannot find -lm when building with -static or -fast

ld: cannot find -lm when building with -static or -fast

Ronald W Green (Intel)的头像

RHEL 6.x, FC14, FC13, FC12, SL6.x, CentOS 6, etc. and possibly other recent distributions:

error when using -static or -fast:

ld: cannot find -lm

See this article: http://software.intel.com/en-us/articles/error-ld-cannot-find-lm/

1 条帖子 / 0 new
如需更全面地了解编译器优化,请参阅优化注意事项.