Re: clang/wrapper cannot build GHC head with integer-gmp on Mavericks

2013-11-20 Thread Herbert Valerio Riedel
On 2013-11-20 at 14:40:27 +0100, Kazu Yamamoto (山本和彦) wrote:

[...]

 If we type CC=clang ./configure, it works. The problem is how to
 specify CC=clang to configure of libgmp when we build GHC head.  If
 we modified libraries/integer-gmp/gmp/ghc.mk manually, we can build
 GHC head. But I don't like this one since make maintainer-clean
 removes ghc.mk.

are you sure gmp/ghc.mk is removed? After all, it's a file checked into Git:

 http://git.haskell.org/packages/integer-gmp.git/blob/HEAD:/gmp/ghc.mk
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: clang/wrapper cannot build GHC head with integer-gmp on Mavericks

2013-11-20 Thread 山本和彦
 are you sure gmp/ghc.mk is removed? After all, it's a file checked into Git:

Oh. Probably I was confused.

So, should we introduce a hack for Mavericks to gmp/ghc.mk?

--Kazu
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: clang/wrapper cannot build GHC head with integer-gmp on Mavericks

2013-11-20 Thread 山本和彦
Hi,

 Oh. Probably I was confused.
 
 So, should we introduce a hack for Mavericks to gmp/ghc.mk?

OK. I created a patch:

https://ghc.haskell.org/trac/ghc/ticket/8497#comment:8

With this patch, I can build GHC head/integer-gmp with GHC
7.6.3/clang-wrapper on Mavericks/XCode 5. (Note that patched alex and
happy are also necessary.)

--Kazu
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs