Building a cross-compiler: thoughts and status

Ian Lynagh igloo at earth.li
Wed Mar 30 14:52:32 CEST 2011


On Wed, Mar 30, 2011 at 09:40:06AM +0100, Simon Marlow wrote:
> On 29/03/2011 14:55, Ian Lynagh wrote:
> >
> >I think it would make a lot of sense for GHC to know the paths to the
> >tools that it was built with, even when it doesn't actually use them
> >itself. That way, "ghc --info" can say e.g.
> >  ,("Ar cmd","/usr/bin/ar")
> 
> But the stage0 compiler was not necessarily built on this system, so
> the paths might be invalid.

The same is true for cGCC and cGHC_PERL.

It's less of a problem in this case, though, as you can override them in
mk/build.mk.

We could also put them in a config file rather than making them in.


Thanks
Ian




More information about the Cvs-ghc mailing list