Re: X-compling on intel for 10.3 PPC
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ORmB1SPVQvgBnqdp4AwCwkk7FI/7yNPVM9xUk+Hiu3jvBwhP7lkr3FjTMoKqtQkWuZje6MAGHiHpTx9/oyjTU12z2NiOq39JTI52zAEeFbM6CcnzYXV086t9ihsPniaV8bfveKMaeIZ8ogsCyjSs77pH5/xauSx5xqCqW2npxuE= At 2/14/07 12:58 PM -0500, Rob McKeever <rmckeever@apple.com> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On 2/14/07, Conrad G T Yoder <conrad@yoders.org> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
Shawn Erickson