iOS patch no 1: Select operating system
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.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.7 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |