Re: Where to deploy byteswap.h?
Re: Where to deploy byteswap.h?
- Subject: Re: Where to deploy byteswap.h?
- From: Chris Espinosa <email@hidden>
- Date: Fri, 24 Apr 2009 11:08:19 -0700
On Apr 24, 2009, at 8:57 AM, Alastair Houghton wrote:
On 24 Apr 2009, at 01:25, K. Chen wrote:
I think we know iPhone SDK doesn't have byteswap.h file. I came up
with my own and tried to deploy it so that my s/w can compile, but
I can't seem to find a right place to copy it over. I put it to all
the following locations:
/usr/include/machine
/usr/include/i386
/usr/include/ppc
But Xcode compiling still failed with the same reason. Any ideas??
You certainly shouldn't be installing anything in those
directories. Those are system header directories.
And to go one better, they're not used at all when building iPhone
software. When you build with the iPhone SDK, all header files are
taken from the /usr/include files in the SDK, not in the base system.
You should either use byteswap functions that you can find in the SDK,
or implement themselves in your code.
Chris
_______________________________________________
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