Re: X-compling on intel for 10.3 PPC
Re: X-compling on intel for 10.3 PPC
- Subject: Re: X-compling on intel for 10.3 PPC
- From: "Shawn Erickson" <email@hidden>
- Date: Wed, 14 Feb 2007 11:58:30 -0800
On 2/14/07, Conrad G T Yoder <email@hidden> wrote:
At 2/14/07 12:58 PM -0500, Rob McKeever <email@hidden> wrote:
>
> You might find TechNote 2163 "Building Universal I\/O Kit Drivers"
> helpful:
>
> <http://developer.apple.com/technotes/tn2006/tn2163.html>
>
> While I realize you're not building a kext, the steps to do this
> from inside Xcode are the same. If you're trying to do this from
> MAkefiles, you should be able to use Xcode to help you see what you
> should be doing for each of the steps.
Rob,
Thanks for the pointer.
After reading this, I realize I've now seen conflicting info on which
compiler version I need to build for 10.3(.9) - I have seen both of:
- targeting OS X 10.3.9 can be done with gcc 4.0
- targeting prior to OS X 10.4 requires gcc 3.3
I am building .dylibs and executables. Can I get a definitive answer from
you Apple guys about what is supported? (Reminder: I am using Xcode 2.3.)
10.3.9 has changes that allows code compiled with gcc 4.0 to function.
So you can target 10.3.9 and later using gcc 4.0. If you need to
support something earlier then 10.3.9 then you need to use gcc 3.3. I
believe this issue is related to C++/Objective-C++ code. However this
factoid applies to user mode development and may not apply to kernel
development.
So I would take what the tech note says about what is required given
it is focused on kext development.
-Shawn
_______________________________________________
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