
I, too, had this problem, saying /usr/bin/gcc could not execute on a Mac. gcc was indeed there and could run just fine. Even more oddly, when I tried `make` again, compilation would get past the point it was stuck only to fall over again several files later. I probably could have gotten everything compiled with lots and lots of `make`s. `make distclean` didn't help. I thought the problem was local, so I didn't report. In the end, I deleted the whole source tree, recloned, and then didn't have the problem.
Richard
On Mar 11, 2013, at 6:11 AM, Ian Lynagh
Hi Kazu,
On Mon, Mar 11, 2013 at 01:45:22PM +0900, Kazu Yamamoto wrote:
These days I can "validate" GHC head on Mac. But to my surprise, I cannot build GHC head on Mac. I verified this with both 32bit and 64bit bootstrapping GHC on Mac. Any ideas?
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?
Does /usr/bin/gcc exist?
What does inplace/bin/ghc-stage1 --info | grep gcc say?
Thanks Ian
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs