--with-gcc does not work well
Ian Lynagh
ian at well-typed.com
Thu May 30 14:51:11 CEST 2013
Hi Kazu,
On Thu, May 30, 2013 at 11:24:15AM +0900, Kazu Yamamoto wrote:
>
> >> This caused an error:
> >>
> >> Configuring terminfo-0.3.2.5...
> >> configure: WARNING: unrecognized options: --with-compiler, --with-iconv-includes, --with-iconv-libraries, --with-gmp-includes, --with-gmp-libraries, --with-gcc
> >> checking for gcc... cc
> >> checking whether the C compiler works... no
>
> > And what is the output of
> > /usr/local/bin/ghc --info | grep "C compiler command"
> > (assuming /usr/local/bin/ghc is your bootstrapping compiler)?
>
> % /usr/local/bin/ghc --info | grep "C compiler command"
> ,("C compiler command","cc")
This is working as expected, then. /usr/local/bin/ghc says that it uses
cc to compile C code, so when compiling C files for it we use cc. If
that's wrong then you can edit the 'settings' file for
/usr/local/bin/ghc.
Thanks
Ian
--
Ian Lynagh, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/
More information about the ghc-devs
mailing list