[GHC] #7690: iOS patch no 1: Select operating system
GHC
cvs-ghc at haskell.org
Fri Feb 15 22:07:38 CET 2013
#7690: iOS patch no 1: Select operating system
----------------------------------+-----------------------------------------
Reporter: StephenBlackheath | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 7.7
Keywords: | Os: Other
Architecture: arm | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
----------------------------------+-----------------------------------------
Comment(by StephenBlackheath):
Hey chak & anyone who wants to build our work in progress at
https://github.com/ghc-ios/, some instructions. There is currently some
breakage with a Cabal change needed.
{{
git clone git at github.com:ghc-ios/ghc.git
git checkout master-merge-ios
./sync-all --no-dph get
}}
the usual cross-compile build.mk
{{
cat > mk/build.mk << EOF
HADDOCK_DOCS = NO
BUILD_DOCBOOK_HTML = NO
BUILD_DOCBOOK_PS = NO
BUILD_DOCBOOK_PDF = NO
SPLIT_OBJS = NO
INTEGER_LIBRARY = integer-simple
Stage1Only = YES
EOF
perl boot
cp arm-apple-darwin10-bin/* ~/bin # or anywhere in your path
PATH=~/bin:$PATH ./configure --target=arm-apple-darwin10
--prefix=/usr/local/ghc-ios-armv7/
make
sudo make install
}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7690#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list