• 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: Building pre-tiger kext under tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building pre-tiger kext under tiger


  • Subject: Re: Building pre-tiger kext under tiger
  • From: Andrew White <email@hidden>
  • Date: Thu, 14 Jul 2005 17:06:33 +1000


Chris Espinosa wrote:

I hope you mean .pb*pr*oj ?

:)

Check out the "Cross-Development" documentation:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide21/Contents/Resources/en.lproj/05_10_bs_cross_development/chapter_37_section_1.html



The high points:
- install the Cross-Development SDKs from the Xcode 2.1 installer
- set the "Cross-Develop Using" setting in the Project's Get Info, General tab
- set the "Mac OS X Deployment Target" build setting to the earliest OS version you wish to run on
- set up the target's Rules to use the appropriate compiler version for your target (gcc 2.95.2 or 3.3 for KEXTs on 10.2.8)

OK, I think I'm 80% of the way there. That said, when I compile I'm still looking in the wrong version of Kernel.framework, as evidenced by all these undefined symbols. How do I make sure it uses the 10.3.9 SDK version?


I've set:
- Project "MyProject" Info: Styles: General: OS X Deployment Target = 10.3
- Project "MyProject" Info: General: Cross-Develop SDK = 10.3.9
- Target: MyTarget: GCC compiler settings = 3.3

(and yes, I've checked that the SDK is installed)

It should be possible to find the necessary stuff...

"fgrep socreate /Developer/SDKs/MacOSX10.3.9.sdk/System/ Library/Frameworks/Kernel.framework/**/*.h" finds the function.

I just can't convince gcc/Xcode to search there for libs and libraries rather than in the default location.


I notice the docs refer to a prefix file, but I don't have one. Should I? What should it be for a .kext?


Thanks

--
Andrew White

--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Building pre-tiger kext under tiger
      • From: Chris Espinosa <email@hidden>
    • Re: Building pre-tiger kext under tiger
      • From: Andrew White <email@hidden>
References: 
 >Building pre-tiger kext under tiger (From: Andrew White <email@hidden>)
 >Re: Building pre-tiger kext under tiger (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Building pre-tiger kext under tiger
  • Next by Date: Re: Building pre-tiger kext under tiger
  • Previous by thread: Re: Building pre-tiger kext under tiger
  • Next by thread: Re: Building pre-tiger kext under tiger
  • Index(es):
    • Date
    • Thread