Re: Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard - Resolved using '-Xlinker -no_uuid' flag
Re: Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard - Resolved using '-Xlinker -no_uuid' flag
- Subject: Re: Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard - Resolved using '-Xlinker -no_uuid' flag
- From: "Gi youl Kim" <email@hidden>
- Date: Mon, 31 Mar 2008 13:09:48 -0700
I tried -no_uuid on 'Additional Strip Flags', which did not work. Is
there 'Other Strip Flags' in xcode Build flags?
Changing debug info from Dwarf to Stabs did not work also.
Finally adding '-Xlinker -no_uuid' to Other Linker Flags worked. The
kext loaded by 10.4.11 & 10.5.2 of Intel/PPC machine.
On Sat, Mar 29, 2008 at 10:56 AM, B.J. Buchalter <email@hidden> wrote:
>
> On Mar 28, 2008, at 9:10 PM, Chris Espinosa wrote:
> >> I think you want to add -no_uuid to the Other Strip Flags, not the
> >> Other Linker Flags, and make sure that stripping is done.
> >
> > Did you try the advice above, that is, adding -no_uuid to the Other
> > Strip Flags and making sure you're stripping the kext?
>
> Actually, IIRC, that did not work for me. It still had the UUID in the
> file with -no_uuid in either or both set of flags.
>
> That being said, what did work was to put:
>
> -Xlinker -no_uuid
>
> in Other Linker Flags, e.g.:
>
> OTHER_LDFLAGS = -Xlinker -no_uuid
>
> With this config for the linker for the kext in Xcode 3, you can build
> a kext that will load on older systems...
>
> Best regards,
>
> B.J. Buchalter
> Metric Halo
> http://www.mhlabs.com
>
>
>
>
_______________________________________________
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