[Qt-interest] The Mac and 4.5: two questions
Bob Hood
bhood2 at comcast.net
Mon Mar 9 02:53:03 CET 2009
Same errors. For example:
./configure -static -universal -no-framework -prefix . -prefix-install
make sub-src
produces:
cc1plus: error: invalid option 'mmx'
when trying to create 'src/gui/painting/qdrawhelper_mmx.cpp'. If it's
of any help, the start of the build line looks like this:
g++ -c Winline -Xarch_i386 -mmmx -Xarch_x86_64 -mmmx -Xarch_i386
-mmacosx-version-min=10.4 -Xarch_ppc -mmacosx-version-min=10.3
-fconstant_cfstrings -fvisibility=hidden -fvisibility-inlines-hidden
-Wall -W -arch ppc -arch -i386 -fPIC -g -gdwarf-2 ...
Dan White wrote:
> FIrst suggestion:
>
> Try "-prefix . -prefix-install" and see if you get further.
> I am planning to do a build on a Tiger machine.
>
> On Mar 8, 2009, at 7:29 PM, Bob Hood wrote:
>
>> First question:
>>
>>> From the command line, I'm trying to create an in-place build of the
>> open source distribution of Qt 4.5 on the OS X (10.5.6, gcc version
>> "i686-apple-darwin9-gcc-4.0.1", Xcode 3.0). I've tried the following
>> two configuration lines:
>>
>> ./configure -static -universal -no-framework -prefix $PWD
>> ./configure -universal -no-framework -prefix $PWD
>>
>> For both, I execute "make sub-src" after they complete so I am not
>> making the entire system. Unfortunately, both of these configurations
>> result in an error at some point in the compile. For the first, I get
>> an error about "'mmx' is not a valid option". The second configuration
>> produces "ld: library not found for -lQtCore_debug" (because there *is*
>> no "libQtCore_debug", only "libQtCore.4.5.0.dylib") when trying to link
>> "libQtXml.4.5.0.dylib". What is wrong with the configuration options
>> I'm using? Or, is there something wrong with my development
>> configuration?
>>
>> Second question:
>>
>> What configuration options are required to get a 64-bit build of Qt 4.5
>> on the Mac?
>>
>>
>> --
>> Render me gone, |||
>> Bob ^(===)^
>> ---------------------------------oOO--(_)--OOo---------------------------------
>>
>> "If I owned Hell and Texas, I would rent out Texas and live in
>> Hell."
>> - General Phil
>> Sheridan
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
--
Render me gone, |||
Bob ^(===)^
---------------------------------oOO--(_)--OOo---------------------------------
"If I owned Hell and Texas, I would rent out Texas and live in Hell."
- General Phil Sheridan
More information about the Qt-interest-old
mailing list