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.

...

cc1plus: error: invalid option ‘mmx’
cc1plus: error: invalid option ‘mmx’

It looks like you have a compiler that actually doesn't support mmx - can you run "gcc -v" and send the output to me?

macbook-pro-15:~ Sylvain$ gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/ s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/ usr/lib --build=i686-apple-darwin9 --with-arch=apple --with- tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)

Also, can you check if configure detects mmx support or not? It should output a line like "MMX/3DNOW/SSE/SSE2.. yes/yes/yes/yes" or similar.

I did notice this line during the configure phase:
MMX/3DNOW/SSE/SSE2..  yes/yes/yes/yes

That said, I am running XCode 3.0, and XCode 3.1.2 is now out.
I am downloading it and will report here if the newer version of gcc helps.

Case solved by upgrading to XCode 3.1.2 :-)

macbook-pro-15:boost_1.37.0 Sylvain$ gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5490~1/src/configure --disable- checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5490)

(notice the newer build number)

./configure -verbose -release -arch ppc -arch x86 -arch x86_64 - cocoa ; make
gives no error anymore.

So I guess http://doc.trolltech.com/4.5/supported-platforms.html needs to specify that the latest XCode is required?

Sylvain


_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to