• 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
Building a kext both for 10.5 and 10.6 possible with Xcode 3.2.6?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
AIM/iChat/Skype:LaurentDaudelin  http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: Building a kext both for 10.5 and 10.6 possible with Xcode 3.2.6?
      • From: Michael Dautermann <email@hidden>
  • Prev by Date: Re: PBXNumberOfParallelBuildSubtasks and Xcode4
  • Next by Date: Re: Building a kext both for 10.5 and 10.6 possible with Xcode 3.2.6?
  • Previous by thread: Re: Image question
  • Next by thread: Re: Building a kext both for 10.5 and 10.6 possible with Xcode 3.2.6?
  • Index(es):
    • Date
    • Thread