Diane's World

I take the 5th


Sun, 25 Dec 2005

Building GHC6 on Arm

I got talked into darcs and now want to be able to check out my patches on

my nslu2. Unfortunately darcs requires ghc, and ghc requires itself to compile. This leads us to the joy of making a new port.

http://www.haskell.org/ghc/docs/latest/html/building/sec-porting-ghc.html

I started with the above link and tried to get it to work. So far, the files they tell you to copy includes/(ghcautoconf.h DeriviedConstants.h GHCConstants.h) are not created by the configure step so you need to run make boot in the ghc directory on the target.

Then after copying them over make them read only, as my touches weren't enough to prevent their makefiles from trying to rebuild those files.

i managed to get it to start building, but it died trying to make the compiler with a bunch of cast errors.

[20:00] | [] | # | G


menu

About Diane Trout
Blog

calendar

< December 2005 >
SuMoTuWeThFrSa
     1 2 3
4 5 6 7 8 910
11121314151617
18192021222324
25262728293031

categories

/ (123)
  geek/ (37)
    debian/ (2)
    programming/ (1)
    t41/ (6)
    voip/ (1)
  government/ (7)
    tac/ (3)
  life/ (8)
    transhuman/ (1)
    vegan/ (2)
      recipes/ (2)
  study/ (49)
    arma/ (1)
    bi188/ (8)
    cs191a/ (6)
    ese166/ (25)
  work/ (21)
    compclust/ (6)
    sigmoid/ (1)
    talks/ (1)