Changes between Version 11 and Version 12 of Attic/X86OSXGhc


Ignore:
Timestamp:
Aug 20, 2006 9:22:02 PM (8 years ago)
Author:
eivuokko
Comment:

build instructions for current ghc head

Legend:

Unmodified
Added
Removed
Modified
  • Attic/X86OSXGhc

    v11 v12  
    33[http://darwinports.opendarwin.org/ DarwinPorts] still has GHC as not supported on x86. 
    44 
     5--- 
     6 
     7At the time of writing (2006-08-20), darcs ghc won't build out of the box using the build 20060608.  Here's steps to do it: 
     8 
     9{{{ 
     10darcs get --partial http://darcs.haskell.org/ghc 
     11cd ghc 
     12chmod +x ./darcs-all 
     13./darcs-all get --partial 
     14autoreconf 
     15./configure 
     16darcs unpull --patch "Fix Array imports"  # answer yes 
     17# edit file mk/config.mk 
     18# on line 790, change variable's value to 
     19# GhcMinVersion = 4 
     20# that causes normal bootstrap 
     21make -j3   # Add GhcBootLibs=YES if you don't want all the libs, -j3 is cool if you got core duo 
     22# compiles stage1 and libs 
     23# it should stop on stage2, compiler/Digraph.lhs 
     24darcs pull -a  # patch "Fix Array imports" 
     25make -j3 stage=2 # Add GhcBootLibs=YES if you don't want all the libs 
     26# be happy 
     27}}} 
     28 
     29If you use build after 20060814 or so, you shouldn't need to unpull and pull the patch. 
    530 
    631---- 
     
    2651 * the invocation of mkdirhier (INSTALL_DIR) is broken for libraries & share (lines 205 & 206) , the first $$0 is in error 
    2752 * the library files are installed using cp, but should be installed using 'install -p' to preserve the timestamps 
     53