[Haskell-cafe] Cross-compiling of GHC

L.Guo leaveye.guo at gmail.com
Mon Sep 17 07:32:53 EDT 2007


Hi all:

How to build a GHC which can run in a embed linux system ?

I have toolchain for the targer system. Using which, I can
compile on PC and run the program on the embed system.

Is this means, if I change CC env-var to the toolchain compiler
and compile GHC manually, I can get a program for the embed 
system ?

I have read Building/Porting for GHC[1], that does not mention
anything about how to build a GHC on a target machine using a
cross-compiler like xxx-linux-gcc.
*or*
What do I need to do besides the stages that page mentioned ?
    
    Regards

[1] http://hackage.haskell.org/trac/ghc/wiki/Building/Porting

--------------
L.Guo
2007-09-17



More information about the Haskell-Cafe mailing list