Building a kext both for 10.5 and 10.6 possible with Xcode 3.2.6?
Building a kext both for 10.5 and 10.6 possible with Xcode 3.2.6?
- Subject: Building a kext both for 10.5 and 10.6 possible with Xcode 3.2.6?
- From: Laurent Daudelin <email@hidden>
- Date: Wed, 20 Apr 2011 12:07:35 -0700
I need to update an older project that builds a kernel extension for a USB device. The kernel extension has to load both under 10.5 and 10.6.
When I opened the project in Xcode 3.2.6, Xcode was reporting that the format of the project (was 2.4), so I had to update it to 3.0.
Then, the target was set to build using GCC 4.0 but I'm getting an error when linking the x86_64 binary that "in /Developer/usr/lib/gcc/i686-apple-darwin10/4.0.1/libcc_kext.a, file was built for unsupported file format which is not the architecture being linked (x86_64)". So, it seems that 4.0 is no good to build the 64bits version of the kernel extension.
So, my question is, basically, is it possible to build a kernel extension for both 10.5 and 10.6, ppc, i386 and x86_64 using Xcode 3.2.6 and I guess switching the compiler to GCC 4.2?
Thanks in advance!
-Laurent. -- Laurent Daudelin
|
_______________________________________________
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