How do you compile using the 10.3.9 SDK at the command line?

Member
Posts: 257
Joined: 2004.06
Post: #1
Hello,

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.

The brains and fingers behind Malarkey Software (plus caretaker of the world's two brattiest felines).
Quote this message in a reply
Moderator
Posts: 1,560
Joined: 2003.10
Post: #2
gcc -isysroot /Developer/SDKs/MacOSX10.3.9.sdk
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #3
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.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Glyph Designer Command Line app released MikeD 1 2,931 Jan 2, 2013 12:56 AM
Last Post: NikG
  C++ and SDL compiling via command line? sugar 2 6,003 Mar 26, 2009 10:07 AM
Last Post: Volte
  Port of Cortex Command? Frejesal 7 8,693 Dec 9, 2008 09:05 PM
Last Post: montdidier
  Mac os x Port of Cortex Command, it is time Mr_Sanders 4 6,710 Dec 9, 2008 09:03 PM
Last Post: montdidier
  (SDL) command line commpiling questions caffeinated 8 6,723 May 10, 2008 08:33 PM
Last Post: caffeinated