--with-gcc does not work well

Simon Marlow marlowsd at gmail.com
Fri May 10 10:11:19 CEST 2013


On 25/04/13 13:14, Páli Gábor János wrote:
> On Thu, Apr 25, 2013 at 12:36 PM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
>> I'm sure that I don't set the CC environment variable. And specifying
>> CC=gcc47 does not solve this.
>
> That is probably because you should set it to $LOCALBASE/bin/gcc47,
> e.g. /usr/local/bin/gcc47 instead.

You shouldn't set the CC environment variable, because it won't get 
plumbed to all the correct places.  The right way is to use --with-gcc 
as Kazu was doing.  It looks like --with-gcc is not getting passed to 
the configure script for terminfo correctly.

Cheers,
	Simon





More information about the ghc-devs mailing list