
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

On Mon, Sep 17, 2007 at 07:32:53PM +0800, L.Guo wrote:
I have toolchain for the targer system. Using which, I can compile on PC and run the program on the embed system.
This isn't something that anyone's ever done with GHC, to the best of my knowledge. You'd probably have to get your hands dirty to make it work, but if you get stuck we can try to help you. By the way, GHC-specific questions are better asked on the glasgow-haskell-users@haskell.org mailing list. Thanks Ian
participants (2)
-
Ian Lynagh
-
L.Guo