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

Posts: 257
Joined: 2004.06
Post: #1

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
Posts: 1,563
Joined: 2003.10
Post: #2
gcc -isysroot /Developer/SDKs/MacOSX10.3.9.sdk
Quote this message in a reply
Posts: 5,143
Joined: 2002.04
Post: #3
you need -mmacosx-version-min=10.3 too. (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 5,055 Jan 2, 2013 12:56 AM
Last Post: NikG
  C++ and SDL compiling via command line? sugar 2 9,036 Mar 26, 2009 10:07 AM
Last Post: Volte
  Port of Cortex Command? Frejesal 7 11,716 Dec 9, 2008 09:05 PM
Last Post: montdidier
  Mac os x Port of Cortex Command, it is time Mr_Sanders 4 8,957 Dec 9, 2008 09:03 PM
Last Post: montdidier
  (SDL) command line commpiling questions caffeinated 8 10,433 May 10, 2008 08:33 PM
Last Post: caffeinated