X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=distrib%2Fhc-build;h=0771980b05875d92203d56eef1ba0b40277fee15;hp=bd9c77b57ecea56fffe7d05a1f3aa559cbf3c849;hb=1525a5819aa3a6eae8d8b05cfe348a2384da0c84;hpb=82a36a85dc7150d7b7172e221741bf39eaa8eaab diff --git a/distrib/hc-build b/distrib/hc-build index bd9c77b..0771980 100644 --- a/distrib/hc-build +++ b/distrib/hc-build @@ -46,7 +46,11 @@ esac echo "*** Building compiler..." ./configure --enable-hc-boot $configopts +# ToDo: figure out the minimal correct sequence here $MAKE -C utils/mkdependC boot all +$MAKE -C utils/unlit boot all +$MAKE -C utils/mkdirhier boot all +$MAKE -C driver/mangler boot all $MAKE -C includes boot all $MAKE -C rts boot all $MAKE -C libraries boot all GhcBootLibs=YES @@ -101,6 +105,6 @@ $MAKE -C libraries boot all # The reconfigure step updates a few files, which can lead to # unnecessary recompilations. Touch a bunch of things here to avoid # having to recompile stuff that we've already built. -(cd compiler; touch $PRIMOP_BITS parser/hschooks.o prelude/PrimOp.o main/Config.hs main/Config.o ghc-*) +(cd compiler; touch $PRIMOP_BITS stage1/parser/hschooks.o stage1/prelude/PrimOp.o main/Config.hs stage1/main/Config.o stage1/ghc-* ghc-*) -# At this point, the tree should be safe to do 'make install' in. +# At this point, the tree should be safe to do 'make install stage=1' in.