Changes between Version 9 and Version 10 of ArmLinuxGhc


Ignore:
Timestamp:
Jan 8, 2007 9:03:55 PM (8 years ago)
Author:
guest
Comment:

more updates for maemo 2.0

Legend:

Unmodified
Added
Removed
Modified
  • ArmLinuxGhc

    v9 v10  
    175175$ touch mkDerivedConstantsHdr mkDerivedConstants.o mkGHCConstants mkGHCConstants.o 
    176176}}} 
     177 
     178Build the compiler on the host. There seems to be a circular depends between utils and compat so I had to hack it a bit. First edit H/utils/Makefile and remove ghc-pkg from the SUBDIRS list in the else clause. 
     179 
     180{{{ 
     181H 
     182 
     183else 
     184SUBDIRS = mkdependC mkdirhier runstdtest hasktags hp2ps hsc2hs \ 
     185          parallel prof unlit genprimopcode genapply runghc 
     186endif 
     187}}} 
     188 
     189Then run 'make boot' in the utils directory 
     190{{{ 
     191H 
     192 
     193$ cd H/ghc-6.6/utils 
     194$ make boot 
     195}}} 
     196 
     197Now restore ghc-pkg to the SUBDIRS line: 
     198 
     199{{{ 
     200H 
     201 
     202else 
     203SUBDIRS = mkdependC mkdirhier runstdtest ghc-pkg hasktags hp2ps hsc2hs \ 
     204          parallel prof unlit genprimopcode genapply runghc 
     205endif 
     206}}} 
     207 
     208And build H/ghc-6.6/compat and then utils: 
     209 
     210{{{ 
     211H 
     212 
     213$ cd H/ghc-6.6/compat 
     214$ make boot && make 
     215$ cd H/ghc-6.6/utils 
     216$ make boot && make 
     217}}}