Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building Universal IOKit Drivers



I sent this to the darwin drivers list, but I realize now that this is definitely an Xcode question:

I am trying to build universal IOKit KEXTs on a PowerPC machine using Xcode 2.2.1.

I have set up the properties meticulously according to the Technote that describes the process:

GCC_VERSION_i386 = 4.0
GCC_VERSION_ppc = 3.3
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
MACOSX_DEPLOYMENT_TARGET_ppc = 10.2
SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk
SDKROOT_ppc = /Developer/SDKs/MacOSX10.2.sdk

and I have applied all the other recommended changes as well. I have been through it several times. I am sure I haven't missed anything.

The PowerPC half builds fine. But when I try to build the Intel half I get this message:

/System/Library/Frameworks/Kernel.framework/PrivateHeaders/ architecture/byte_order.h:37:42: error: architecture/i386/ byte_order.h: No such file or directory

and a bunch of others.

Looking at the command used by Xcode to build one of the files, I see the following option:

-I/System/Library/Frameworks/Kernel.framework/PrivateHeaders

This is the problem. If I copy the command to the terminal and remove the above include path, the file in question will compile. (In fact, if I compile every file manually, I can actually build my project).

So my questions are: how did that path get put on the command line, and how do I get rid of it? I am not specifying it anywhere -it would appear to be something Xcode is adding.

At least one other person asked about this on one of the lists, but he didn't get an answer. I hope someone can help.

Thanks,
Chris.




_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.