[Interest] [OS X] 32bit build on 64bit system?

Thiago Macieira thiago.macieira at intel.com
Mon Mar 9 16:49:12 CET 2015


On Monday 09 March 2015 14:14:36 René J.V. Bertin wrote:
> Hi,
> 
> Following up on the earlier discussion of 32bit Qt builds.
> Is it possible to do a 32bit Qt build on a 64bit system? I just tried to
> build Qt 5.4.1 using `configure -platform macx-clang-32`. I did get a 32bit
> qmake executable, but the build already failed on creating
> libQt5Bootstrap.a :
> 
> .obj/qstring_mac.o:              Mach-O object i386
> .obj/qstandardpaths_mac.o:       Mach-O object i386
> .obj/qlatincodec.o:              Mach-O 64-bit object x86_64
> .obj/qtextcodec.o:               Mach-O 64-bit object x86_64
> (all other object files are x86_64 too).
> 
> That almost looks like the `-arch i386` option (set for all compiler FLAGS
> in macx-clang-32/qmake.conf) is actually used only when compiling ObjC
> code.
> 
> Thoughts?

You might be right.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list