[project @ 2001-03-23 16:36:20 by simonmar]
authorsimonmar <unknown>
Fri, 23 Mar 2001 16:36:23 +0000 (16:36 +0000)
committersimonmar <unknown>
Fri, 23 Mar 2001 16:36:23 +0000 (16:36 +0000)
commit50027272414438955dbc41696541cbd25da55883
treef624c5ebb5b1630ad644dc527bb859a6839cc445
parent4f4e61a3e5c29075acc8d5128fd93e81b4116550
[project @ 2001-03-23 16:36:20 by simonmar]
Changes to support bootstrapping the compiler from .hc files.  It's
not quite working yet, but it's not far off.

  - the biggest change is that any injected #includes are now placed in
    the .hc file at generation time, rather than compilation time.  I
    can't see any reason not to do this - it makes it clear by looking at
    the .hc file which files are being #included, it means one less
    temporary file at compilation time, and it means the .hc file is more
    standalone.

  - all the gruesomeness is in mk/bootstrap.mk, which handles building
    .hc files without a ghc driver.
27 files changed:
Makefile
ghc/Makefile
ghc/compiler/main/CodeOutput.lhs
ghc/compiler/main/DriverPipeline.hs
ghc/compiler/main/DriverState.hs
ghc/compiler/main/Finder.lhs
ghc/driver/mangler/Makefile
ghc/lib/std/Makefile
ghc/mk/paths.mk
ghc/rts/Exception.hc
ghc/rts/HeapStackCheck.hc
ghc/rts/Makefile
ghc/rts/PrimOps.hc
ghc/rts/Schedule.c
ghc/rts/StgMiscClosures.hc
ghc/rts/StgStartup.hc
ghc/rts/StgStdThunks.hc
ghc/rts/Updates.hc
ghc/rts/parallel/FetchMe.hc
ghc/utils/genprimopcode/Makefile
ghc/utils/hsc2hs/Makefile
mk/boilerplate.mk
mk/bootstrap.mk [new file with mode: 0644]
mk/config.mk.in
mk/paths.mk
mk/suffix.mk
mk/target.mk