Building GHC on Mac stops

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Fri Aug 16 04:02:15 CEST 2013


Austin,

> Kazu - perhaps are you still seeing this consistently on your Mac?

Yes, I still have this problem. 

> $(libraries/integer-gmp/mkGmpDerivedConstants_dist_depfile_c_asm):
> libraries/integer-gmp/gmp/gmp.h

Thank you for this clue.

It seems to me that the following patch fixes this problem. Can anyone
verify this patch? (Please apply this in
libraries/integer-gmp/mkGmpDerivedConstants).

--Kazu

diff --git a/mkGmpDerivedConstants/ghc.mk b/mkGmpDerivedConstants/ghc.mk
index 6c06224..3ea8603 100644
--- a/mkGmpDerivedConstants/ghc.mk
+++ b/mkGmpDerivedConstants/ghc.mk
@@ -26,7 +26,7 @@ $(GmpDerivedConstants_HEADER): $(mkGmpDerivedConstants_INPLACE)
 
 ifneq "$(HaveLibGmp)" "YES"
 ifneq "$(HaveFrameworkGMP)" "YES"
-$(libraries/integer-gmp/mkGmpDerivedConstants_dist_depfile_c_asm): libraries/integer-gmp/gmp/gmp.h
+libraries/integer-gmp/mkGmpDerivedConstants/mkGmpDerivedConstants.c: libraries/integer-gmp/gmp/gmp.h
 endif
 endif
 





More information about the ghc-devs mailing list