I had to configure with '-no-mmx -no-3dnow -no-sse' to get it to build on Mac. Which should be fine though since all intel Mac's should have sse2.
-Troy Gillette Leapfrog, Inc. On 12/19/08 3:43 PM, "David Forstenlechner" <[email protected]> wrote: > Same problem here on Leopard OSX on an Intel, > using the -universal option. > > The Windows build failed too, on compiling moc_WebCoreResources.cpp. > > David Forstenlechner > Newtek Inc. > > Peter Johnson schrieb: >> I'm trying to build Qt 4.5 beta1 on the Mac and it is failing, >> complaining about mmx. >> >> I have been configuring Qt thusly: >> >> -framework -universal -system-zlib -sdk /Developer/SDKs/MacOSX10.4u.sdk >> >> Here's how it dies... >> >> cd src/gui/ && make -f Makefile >> make -f Makefile.Debug all >> /Users/zattoo/Qt/qt-mac-commercial-src-4.5.0-beta1/bin/uic dialogs/ >> qfiledialog.ui -o .uic/debug-shared/ui_qfiledialog.h >> /Users/zattoo/Qt/qt-mac-commercial-src-4.5.0-beta1/bin/uic dialogs/ >> qpagesetupwidget.ui -o .uic/debug-shared/ui_qpagesetupwidget.h >> g++ -c -Winline -Xarch_i386 -mmmx -Xarch_x86_64 -mmmx -pipe -fconstant- >> cfstrings -g -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden >> -Wall -W -arch ppc -Xarch_ppc -mmacosx-version-min=10.3 -arch i386 - >> Xarch_i386 -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/ >> MacOSX10.4u.sdk -fPIC -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP - >> DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII - >> DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -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_CORE_LIB -D_LARGEFILE64_SOURCE - >> D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore >> -I../../include -I../../include/QtGui -I.rcc/debug-shared -I../ >> 3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/harfbuzz/src - >> Idialogs -I.moc/debug-shared -I.uic/debug-shared -F/Users/zattoo/Qt/qt- >> mac-commercial-src-4.5.0-beta1/lib painting/qdrawhelper_mmx.cpp - >> o .obj/debug-shared/qdrawhelper_mmx.o >> cc1plus: error: invalid option 'mmx' >> >> Anyone see what may be wrong? >> _______________________________________________ >> Qt4-preview-feedback mailing list >> [email protected] >> http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback >> >> >> > > _______________________________________________ > Qt4-preview-feedback mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
