
17 Sep
2007
17 Sep
'07
11:32 a.m.
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