building on Mac

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Tue Mar 12 02:48:21 CET 2013


>> ghc-stage1: could not execute: /usr/bin/gcc
>> make[1]: *** [libraries/template-haskell/dist-install/build/Language/Haskell/TH/Syntax.p_o] Error 1
> 
> Does this always happen when compiling this file?

I'm using "make -j6". One GHC is compiling this file. 

> Does /usr/bin/gcc exist?

Of, course. "validate" works.

> What does
>     inplace/bin/ghc-stage1 --info | grep gcc
> say?

 ,("C compiler command","/usr/bin/gcc")


I removed GHC tree and cloned it again today. But the same thing happened.

This thing happens repeatedly in my Mac.

	http://www.haskell.org/pipermail/ghc-devs/2013-February/000440.html

--Kazu



More information about the ghc-devs mailing list