[Development] Standard options & deploying on Mac OS X 10.6 while building on 10.7
thiago.macieira at intel.com
Fri Jun 7 17:38:11 CEST 2013
On sexta-feira, 7 de junho de 2013 14.40.41, Vincent wrote:
> However, when looking at the clang++ option run during configure step, it
> seems MacOSX10.8 sdk is used (see -isysroot argument):
> in/usr/bin/clang++ -c -o qcore_mac.o -pipe -isysroot
> er/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.6 -g -gdwarf-2
Min 10.6 and SDK 10.8 is weird, but not entirely wrong. But this command-line
here is not relevant. You're looking at the qmake build. Host tools like
qmake, moc and uic are never run on the target and are never deployed to 10.6.
You need to look at the build of the libraries.
> and the configure step ends up with an error (here 10.6 sdk seems at work):
> in/usr/bin/clang++ -headerpad_max_install_names
> platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -o stl
> ld: library not found for -lstdc++
So it looks like the build is correct. The stltest is done with the same flags
as the libraries would be built.
Now, it seems your 10.6 SDK is broken. Can you compile regular C++
applications with it?
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the Development