iOS patch no 1: Select operating system
|Reported by:||StephenBlackheath||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Revisions:|
This is the first in a series of patches for adding cross-compile ability for iOS.
For now, 'arm-apple-darwin10' will be interpreted as iOS. Later we will need to tweak this to detect the difference between the iOS simulator (with an i386 cpu) and the native Mac.
I am creating a new logical OS name 'ios' because the differences between iOS and Mac can be quite significant. I thought it would we best not to introduce the idea of an OS variant (as we did with ARM cpus) for two reasons: 1. it's over-complicating the issue and 2. it would require some modification of cabal.
Versioning: I'm submitting patch version 1a here. If I have to revise a patch, I'll bump the letter.