How do you compile using the 10.3.9 SDK at the command line? - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Tools & Technology (/forum-10.html)
+--- Thread: How do you compile using the 10.3.9 SDK at the command line? (/thread-2934.html)
How do you compile using the 10.3.9 SDK at the command line? - Malarkey - Nov 17, 2007 10:13 AM
I'm trying to get 10.3.9 compatibility working on one of my projects except that I keep on getting a linking error that points to SystemStubs not being linked in except that linking in it doesn't fix my errors. The only thing that I can figure is that the libraries I'm statically linking in were compiled using the 10.4 SDK and need to be recompiled with SystemStubs linked in or using the 10.3.9 SDK. So my question is, then, how do I do this from the command line? I'm basically trying to create compatible versions of libcurl and libssl.
How do you compile using the 10.3.9 SDK at the command line? - ThemsAllTook - Nov 17, 2007 11:15 AM
gcc -isysroot /Developer/SDKs/MacOSX10.3.9.sdk
How do you compile using the 10.3.9 SDK at the command line? - OneSadCookie - Nov 17, 2007 12:21 PM
you need -mmacosx-version-min=10.3 too.
http://onesadcookie.com/svn/repos/Third-Party (once I get it back up, AIM me if you want it before the link works again) builds autotool'd libraries for all the architectures and OS versions you have SDKs for.