作者fire2 (我要星海2)
看板LinuxDev
标题[问题] 关於cc1plus: invalid option `tune=pentium4'错误
时间Thu Sep 27 12:43:22 2007
环境:Fedora 4 Linux
用qmake做完後
make时出错
错误讯息:
-----------------------------------------------------------------------------
[root@localhost webcam code]# make
g++ -c -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32
-march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -DQT_NO_DEBUG
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/root/include -o ucwebcamDlg.o
ucwebcamDlg.cpp
cc1plus: invalid option `tune=pentium4'
make: *** [ucwebcamDlg.o] Error 1
------------------------------------------------------------------------------
出错的Makefile行:
==============================================================================
CFLAGS = -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -DQT_NO_DEBUG
CXXFLAGS = -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -DQT_NO_DEBUG
==============================================================================
请问各位前辈,这是哪边出了问题呢??
恳请帮忙解答一下,感谢!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.138.174.216