You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter J. Jones d91c8678ad A few more typos in the README 6 years ago
ghc Add all the repositories that are currently on master 6 years ago
README.md A few more typos in the README 6 years ago

README.md

Utilities and Scripts for Haskell iOS Development

GHC build scripts based on the ghc-ios wiki and ghc-ios-simple-setup.

Building GHC (iOS) Cross Compiler With These Scripts

Assuming this repository is in ~/ghc-ios-util:

  1. Follow the wiki instructions for installing dependencies (Xcode command line tools, LLVM, etc.).

  2. Check out the ghc-ios repo:

    git clone https://github.com/ghc-ios/ghc.git ghc-ios
    cd ghc-ios
    ./sync-all get
    
  3. Update all “sub” repositories to the correct versions:

    sh ~/ghc-ios-util/ghc/checkout.sh
    
  4. Compile GHC:

    sh ~/ghc-ios-util/ghc/compile.sh
    
  5. Install:

    sudo mkdir -p /usr/local/ghc-ios
    sudo chown $USER /usr/local/ghc-ios
    make install