Re: NKE dependencies
Re: NKE dependencies
- Subject: Re: NKE dependencies
- From: Brian Bergstrand <email@hidden>
- Date: Thu, 20 Apr 2006 13:35:35 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Apr 20, 2006, at 1:14 PM, Michael Tuexen wrote:
Dear all,
I have a NKE which has a dependancy to com.apple.kernel.
To get it working on 10.4.6 on PPC I have
<dict>
<key>com.apple.kernel</key>
<string>8.6.0</string>
</dict>
in the corresponding Info.plist file.
I also built the NKE as a universal binary but I figured out
that 10.4.6 on Intel uses 8.6.1.
How can I build a universal binary which loads on both? So how
can I wildcard the last number?
You can't. When you link against the kernel proper, you are limited
to that specific version.
What you need to do is link against the specific kpi's you use:
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kpi.libkern</key>
<string>8.3.0</string>
<key>com.apple.kpi.mach</key>
<string>8.3.0</string>
<key>com.apple.kpi.bsd</key>
<string>8.3.0</string>
<key>com.apple.kpi.iokit</key>
<string>8.3.0</string>
</dict>
In this example, the kext will load on anything >= 8.3.0.
Furthmore I think the NKE will load on all Tiger systems? So
is it possible to state something like 8.?.? for the version?
Use the kpi's and set the version to 8.0.0.
HTH.
Brian Bergstrand
<http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFER9R8edHYW7bHtqIRAjSoAKCF001hYBWW+39kb7L6vOjpuc0pkwCfVimH
TzqbRcmhiWrJJsNZYvQNkhE=
=Cd/m
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden