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):
> 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha
> in/usr/bin/clang++ -c -o qcore_mac.o -pipe -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Develop
> er/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.6 -g -gdwarf-2
[cut]

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):
> 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha
> in/usr/bin/clang++ -headerpad_max_install_names
> -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.
> platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -o stl
> stltest.o
> 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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to