[Qt4-preview-feedback] Qt 4.5 beta: Compile error on OS X
Sylvain MARIE
smarie at nexgenergo.com
Tue Feb 10 12:07:45 CET 2009
>> Hi,
>>
>> I'm using OS 10.5.6 on a MBP C2D.
>> I would like Qt to use Coca on PPC (32bit) and i386 (both 32 and 64
>> bits) so I configure Qt this way:
>> ./configure -verbose -release -no-mmx -no-3dnow -no-sse -arch ppc -
>> arch x86 -arch x86_64 -cocoa
>>
>> (the "-no-mmx -no-3dnow -no-sse" comes from http://www.mail-archive.com/qt4-preview-feedback@trolltech.com/msg00494.html)
>>
>
> The "-no-mmx -no-3dnow -no-sse" should not be necessary any more, can
> you try removing those arguments and compiling again? (We use gcc's -
> Xarch option to selectively enable mmx/sse for the x86 archs)
I downloaded the rc1, configured with
./configure -verbose -release -arch ppc -arch x86 -arch x86_64 -cocoa
and ran "make". No dice.
. . .
/Users/Sylvain/NexGen/NexGenSVN/Externals/trunk/qt-mac-opensource-
src-4.5.0-rc1/bin/uic dialogs/qfiledialog.ui -o .uic/release-shared/
ui_qfiledialog.h
/Users/Sylvain/NexGen/NexGenSVN/Externals/trunk/qt-mac-opensource-
src-4.5.0-rc1/bin/uic dialogs/qpagesetupwidget.ui -o .uic/release-
shared/ui_qpagesetupwidget.h
g++ -c -Winline -Xarch_i386 -mmmx -Xarch_x86_64 -mmmx -pipe -fconstant-
cfstrings -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W
-arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -arch i386 -arch
ppc -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -
DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -
DPNG_NO_ASSEMBLER_CODE -DQT_RASTER_IMAGEENGINE -DQT_NO_CUPS -
DQT_NO_LPR -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -
DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_FREETYPE -DQT_NO_OPENTYPE -
DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -
DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -
DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/
QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -
I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -
Idialogs -I.moc/release-shared -I.uic/release-shared -F/Users/Sylvain/
NexGen/NexGenSVN/Externals/trunk/qt-mac-opensource-src-4.5.0-rc1/lib
painting/qdrawhelper_mmx.cpp -o .obj/release-shared/qdrawhelper_mmx.o
cc1plus: error: invalid option ‘mmx’
cc1plus: error: invalid option ‘mmx’
lipo: can't open input file: /var/folders/yt/ytGAZIMtHt0eute3eGZwgk++
+TI/-Tmp-//ccPMSlD3.out (No such file or directory)
make[2]: *** [.obj/release-shared/qdrawhelper_mmx.o] Error 1
make[1]: *** [release] Error 2
make: *** [sub-gui-make_default-ordered] Error 2
Sylvain MARIE
smarie at nexgenergo.com
More information about the Qt4-feedback
mailing list