Adds OS X Section to Readme
authorMoritz Angermann <moritz.angermann@gmail.com>
Sat, 26 Dec 2015 10:06:27 +0000 (18:06 +0800)
committerMoritz Angermann <moritz.angermann@gmail.com>
Sat, 26 Dec 2015 10:06:27 +0000 (18:06 +0800)
Still fails at #47

README.md

index 6d27b25..9844bf6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -48,6 +48,22 @@ $ shake-build/build.bat
 ```
 Also see the [Building GHC on Windows guide][ghc-windows-building-guide].
 
+### Mac OS X
+
+```bash
+git clone git://git.haskell.org/ghc
+cd ghc
+git submodule update --init
+git clone git://github.com/snowleopard/shaking-up-ghc shake-build
+./boot
+./configure --with-gcc=$(which clang) # See #26
+./shake-build/build.sh includes/ghcautoconf.h # See #48
+./shake-build/build.sh includes/ghcplatform.h # See #48
+cp utils/hsc2hs/template-hsc.h inplace/lib/template-hsc.h # See #44
+./shake-build/build.sh
+```
+
+See the Linux section for running in a Cabal sandbox.
 
 ### Resetting the build