I've created https://bugreports.qt-project.org/browse/QTBUG-30487
I can provide a tarball of the 10.6 SDK for anyone who needs it to test. It's semi-painful to extract from an old version of xcode. Josh On Tue, Apr 2, 2013 at 2:17 PM, Josh Faust <jfa...@suitabletech.com> wrote: > Looks like it's a problem with using the g++ binary xcrun finds: > > $ xcrun -sdk macosx10.6 g++ test.cpp -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk > -mmacosx-version-min=10.6 -o test > ld: library not found for -lstdc++ > collect2: ld returned 1 exit status > $ g++ test.cpp -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk > -mmacosx-version-min=10.6 -o test > $ > > $ xcrun -f -sdk macosx10.6 g++ > /Applications/Xcode.app/Contents/Developer/usr/bin/g++ > $ /Applications/Xcode.app/Contents/Developer/usr/bin/g++ test.cpp > -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk > -mmacosx-version-min=10.6 -o test > ld: library not found for -lstdc++ > collect2: ld returned 1 exit status > > > On Tue, Apr 2, 2013 at 2:01 PM, Sorvig Morten <morten.sor...@digia.com>wrote: > >> >> On Apr 2, 2013, at 9:51 PM, Josh Faust <jfa...@suitabletech.com> wrote: >> >> > Actually, this seems to go beyond just using a custom SDK path. If I >> place the 10.6 SDK alongside the others inside the Xcode application folder >> and configure with: >> > ./configure -developer-build -release -opensource -confirm-license >> -shared -nomake examples -nomake demos -nomake docs -no-c++11 -platform >> macx-g++ -sdk macosx10.6 >> > >> > It fails with: >> > >> > Determining architecture... () >> > /Applications/Xcode.app/Contents/Developer/usr/bin/g++ -c -pipe -g >> -gdwarf-2 -Wall -W -isysroot >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk >> -mmacosx-version-min=10.6 -fPIE -I../../mkspecs/macx-g++ -I. -o arch.o >> arch.cpp >> > /Applications/Xcode.app/Contents/Developer/usr/bin/g++ >> -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 arch arch.o >> > ld: library not found for -lstdc++ >> > collect2: ld returned 1 exit status >> > make: *** [arch] Error 1 >> > Unable to determine architecture! >> > >> > Before I file a ticket, is building against 10.6 supposed to work with >> 5.1? >> >> Yes, that's supposed to work. libstdc++ is the correct standard library >> to link against for 10.6, so it's a bit strange that it fails. >> >> Morten >> _______________________________________________ >> Development mailing list >> Development@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/development >> > >
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development