[Linux 常用技巧] C compiler cannot create executables的解决方法

Jan 6th, 2009

转载本站文章请注明,转载自:扶凯[http://www.php-oa.com]

本文链接: http://www.php-oa.com/2009/01/06/948.html

搞了几天的问题.编译一个文件时,老是出下面这个错.

checking for C compiler default output file name… configure: error: C compiler cannot create executables

没法子,找高人帮我处理,哈哈….记录下来.因为64位的机器,默认对CFLAGS的这是进行了设置,所以使用下面的命令清空他就行了,这样软件就不会报上面的错了.

#export CFLAGS=

又学到了一招.

Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪 ViVi 365Key 网摘 天极网摘 和讯网摘 博拉网 POCO 网摘 饭否 QQ 书签 Digbuzz 我挖网 Mister Wong
Tags:
No comments yet.