
#7690: iOS patch no 1: Select operating system ------------------------------+--------------------------------------------- Reporter: StephenBlackheath | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Other | Architecture: arm Failure: None/Unknown | Blockedby: Blocking: | Related: ------------------------------+--------------------------------------------- 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. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7690 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler