heres what you need to do 
cp mk/build.mk.sample mk/build.mk

then uncomment the line about GMP 

On Wed, Aug 21, 2019 at 11:19 AM Alejandro Serrano Mena <trupill@gmail.com> wrote:
Thanks for the reply!
In my case, it was a clean installation of Mac OS X, with only Xcode command line tools and after executing the corresponding 'brew' command from the wiki.

El lun., 19 ago. 2019 11:09, Shayne Fletcher <shayne.fletcher@daml.com> escribió:
Hi Alejandro,

On Mon, Aug 19, 2019 at 2:11 AM Alejandro Serrano Mena <trupill@gmail.com> wrote:
Hi,
I tried to get GHC working from the repo in Mac OS X following the instructions in https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation/mac-osx. At first I got the "error __GNU_MP_VERSION not defined" problem, for which the guide recommends to prepend "CC=clang"  to "./configure" , which I did. But even then, I also had to install "gmp" using "brew install gmp".
1. Is it right that I need to install gmp using brew or did I miss some previous step?
2. If (1) is affirmative, how can I help update the docs for building in Mac OS X?


I've encountered this problem. In my case it turned out that I had a rogue `cc` executable in my path. See https://gitlab.haskell.org/ghc/ghc/issues/16904 for details.

--
Shayne Fletcher
Language Engineer / +1 917 699 7663
Digital Asset, creators of DAML

This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.digitalasset.com/emaildisclaimer.html. If you are not the intended recipient, please delete this message.
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs