• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCODE 2.1 targeting Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCODE 2.1 targeting Panther


  • Subject: Re: XCODE 2.1 targeting Panther
  • From: "B.J. Buchalter" <email@hidden>
  • Date: Wed, 17 Aug 2005 15:04:50 -0400

Hi Philip,

> Hello Jeff, thanks for your reply.  I guess I was subconsciously thinking
> too much like a Windows driver developer, and so this did not occur to me
> (Windows DDK has several OS environments).

You can develop for both Panther and Tiger using the 10.3.9 SDK in Xcode 2.1
running on Tiger. That is, you have to build the kext as if you were
building against the 10.3.9 target, but you can still do this on 10.4.

It is a bit tricky to get the project set up correctly though.

If I remember correctly:

Set the following properties at the Project level:

MACOSX_DEPLOYMENT_TARGET = 10.3
SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk

At the target level, in the Build tab:
HEADER_SEARCH_PATHS =
"$(SDKROOT)/System/Library/Frameworks/Kernel.framework/Headers"
FRAMEWORK_SEARCH_PATHS = "\"$(SDKROOT)/System/Library/Frameworks\""
GCC_VERSION = 3.3
KERNEL_MODULE = YES
MODULE_IOKIT = YES

I *think* that was the only magic required to get this to work.

BTW, I'm pretty sure you should be able to select the lines above and just
drag them (maybe one at at time) in to the settings panel in Xcode (except
maybe the HEADER_SEARCH_PATHS  since mail is breaking the line in the
middle).

Unfortunately it is not as simple as just setting the SDK for the project
for some reason.

Also, you may run into some issues with the Headers for 1394 in SDK. If
worst comes to worst, you can download the IOFireWireFamily for 10.3.9 from
Darwin and manually install the 1394 headers in the right place in the SDK
(I don't remember, but I might have had to do this).

One key issue is the 3.3 compiler. 4.0 won't work for Panther.

Good luck! It is a bit tweaky to get it right, but once you do, it
definitely works....

Best regards,


B.J. Buchalter

Metric Halo
5 Donovan Drive
Hopewell Junction, NY 12533 USA
tel +1 845 223-6112
fax +1 603 250-2451

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: XCODE 2.1 targeting Panther
      • From: Jeff Moore <email@hidden>
References: 
 >RE: XCODE 2.1 targeting Panther (From: Philip Lukidis <email@hidden>)

  • Prev by Date: Re: Restarting MIDIServer?
  • Next by Date: Re: XCODE 2.1 targeting Panther
  • Previous by thread: RE: XCODE 2.1 targeting Panther
  • Next by thread: Re: XCODE 2.1 targeting Panther
  • Index(es):
    • Date
    • Thread