Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KPI vs. old style libs



Jim Wintermyre writes:
 > >On Fri, 29 Apr 2005, Mike Smith wrote:
 > >- In your OSBundleLibraries array, you can't mix the new com.apple.kpi.xxx
 > >pseudo-bundles with the old com.apple.kernel.xxx ones (where xxx is iokit,
 > >bsd, mach, etc). They overlap, so just choose one style.
 > 
 > Speaking of this, what is the recommendation for those of us with 
 > kexts that need to support back to 10.2.x for at least "a while"?  I 
 > don't suppose there is any way to do some magic to have a single 
 > driver dynamically use the kpi libs in Tiger and above, and the older 
 > kernel libs in prior systems?  Or is the only solution to just use 
 > the old style libs (or have two separate binaries)?
 > 

I stub the KPI stuff (currently with macros) for source-level
compatibility, but I end up with a separate binaries for Tiger
and for earlier OS versions.

I could imagine an approach where you created your own "kpi-compat"
library.  That way, you could build/ship the same binary, and require
that your driver depend on your kpi-compat library on older systems.


Drew
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >KPI vs. old style libs (From: Jim Wintermyre <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.