• 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: Eric Welch <email@hidden>
  • Date: Sun, 31 Jul 2005 21:44:25 -0700

Andrew,

To build a 10.3 kext which uses socreate and thread funnels with XCode 2.1:

1. create an XCode target for the 10.3 kext
2. make sure you have the 10.3.9 SDK installed (you can get this from the XCode installer, select custom)
3. set 'SDKROOT' under build settings to "/Developer/SDKs/ MacOSX10.3.9.sdk"


so far, pretty ordinary. The next two steps are the tricky parts. Hopefully these won't be necessary with future releases of XCode 2.x SDKs.

4. Add the following to "Header Search Paths"
    $(SDKROOT)/System/Library/Frameworks/Kernel.framework/Headers/bsd

5. finally, there is a bug in the lib directory for the 10.3.9 sdk that you have to workaround by creating a file system symbolic link from $(SDKROOT)/usr/lib to /usr/lib/libcpp_kext.a

Hope this helps...

eric

On Jul 31, 2005, at 6:46 PM, Andrew White wrote:


Eric,

Eric Welch wrote:


You can't use socreate and thread funnels in 10.4; those have been replaced by the kpi_socket library and you-don't-need-it respectively under 10.4.
However, if you want to BUILD a 10.3 kext that uses socreate and thread funnels with XCode 2.1 running on 10.4, that is tricky but possible. I had the same problem and solved it by having the project build a 10.3 kext and a 10.4 kext as separate targets. Let me know if this would work for you and I'll write up what you need to do.



Sorry for the delay in responding.

Thank you for your offer.  What would be really helpful are notes on:

(1) Building a 10.3 kext using sockets and funnels under 10.4.
(2) Converting 10.3 kext socket and funnel calls to 10.4.

I tried poking around on the apple site and couldn't find anything to help here, except a comment saying that #1 wasn't possible. If you know how to do either (or both) #1 and #2 and have the time to share your knowledge I would really appreciate it.

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
References: 
 >Building pre-tiger kext under tiger (From: Andrew White <email@hidden>)
 >Re: Building pre-tiger kext under tiger (From: Chris Espinosa <email@hidden>)
 >Re: Building pre-tiger kext under tiger (From: Andrew White <email@hidden>)
 >Re: Building pre-tiger kext under tiger (From: Andrew White <email@hidden>)
 >Re: Building pre-tiger kext under tiger (From: Eric Welch <email@hidden>)
 >Re: Building pre-tiger kext under tiger (From: Andrew White <email@hidden>)

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