• simonmar's avatar
    [project @ 2002-08-29 15:44:11 by simonmar] · ce9687a5
    simonmar authored
    Housekeeping:
    
      - The main goal is to remove dependencies on hslibs for a
        bootstrapped compiler, leaving only a requirement that the
        packages base, haskell98 and readline are built in stage 1 in
        order to bootstrap.  We're almost there: Posix is still required
        for signal handling, but all other dependencies on hslibs are now
        gone.
    
        Uses of Addr and ByteArray/MutableByteArray array are all gone
        from the compiler.  PrimPacked defines the Ptr type for GHC 4.08
        (which didn't have it), and it defines simple BA and MBA types to
        replace uses of ByteArray and MutableByteArray respectively.
    
      - Clean up import lists.  HsVersions.h now defines macros for some
        modules which have moved between GHC versions.  eg. one now
        imports 'GLAEXTS' to get at unboxed types and primops in the
        compiler.
    
        Many import lists have been sorted as per the recommendations in
        the new style guidelines in the commentary.
    
    I've built the compiler with GHC 4.08.2, 5.00.2, 5.02.3, 5.04 and
    itself, and everything still works here.  Doubtless I've got something
    wrong, though.
    ce9687a5
DriverFlags.hs 24.9 KB