[commit: ghc] wip/nfs-locking: Adds OS X Section to Readme (1046838)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:46:58 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/1046838060dfdacbdf7cdf8e2994edf71e5c0a5f/ghc

>---------------------------------------------------------------

commit 1046838060dfdacbdf7cdf8e2994edf71e5c0a5f
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Sat Dec 26 18:06:27 2015 +0800

    Adds OS X Section to Readme
    
    Still fails at #47


>---------------------------------------------------------------

1046838060dfdacbdf7cdf8e2994edf71e5c0a5f
 README.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/README.md b/README.md
index 6d27b25..9844bf6 100644
--- 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
 



More information about the ghc-commits mailing list