• 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
Re: Where to deploy byteswap.h?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Where to deploy byteswap.h? (From: "K. Chen" <email@hidden>)
 >Re: Where to deploy byteswap.h? (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: Apple Developer Forums open for SnowLeopard seeded developers
  • Next by Date: Re: Apple Developer Forums open for SnowLeopard seeded developers
  • Previous by thread: Re: Where to deploy byteswap.h?
  • Next by thread: Re: Where to deploy byteswap.h?
  • Index(es):
    • Date
    • Thread