- 11 Dec, 2003 1 commit
-
-
simonmar authored
Hacking in the .pp suffix rule: leave #include directives in place.
-
- 18 Aug, 2003 1 commit
-
-
panne authored
Nuked unused FPTOOLS_PROG_YACCY test and support for yacc/bison in general. If it is ever needed again, it can easily be resurrected.
-
- 13 Aug, 2003 1 commit
-
-
simonmar authored
Add Alex support.
-
- 24 Jul, 2003 1 commit
-
-
simonmar authored
- Move suffix rules from bootstrap.mk to suffix.mk - Make the bootstrap suffix rules $(odir)-aware, so they work for the compiler
-
- 23 Jul, 2003 2 commits
- 19 Jun, 2003 1 commit
-
-
simonmar authored
We should invoke cpp with $(RAWCPP_OPTS) when processing .pp files.
-
- 05 Jun, 2003 1 commit
-
-
reid authored
Swap rules for building .o files by compiling and by assembling so that we compile if possible
-
- 21 May, 2003 1 commit
-
-
reid authored
Improved greencard-related definitions
-
- 24 Jan, 2003 1 commit
-
-
simonmar authored
remove setting of $(way_) and $(_way); these are now set in boilerplate.mk
-
- 13 Nov, 2002 1 commit
-
-
simonmar authored
Add support for gcc-style "make bootstrap" which will build the stage 1, 2 and 3 compilers in the same build tree. The idea is to simplify building a stage 2 or 3 compiler (now you only need one build tree), and also speed up the build: there's no need to compile the libraries more than once, because the stage 1 libraries are used for stages 2 & 3. In ghc/compiler, the objects and .hi files are now placed in subdirectories: ghc/compiler/stage1 has the stage1 objects, ghc/compiler/stage2 has the stage2 objects, etc. The story from the top-level (fptools) is this: make all works as before (i.e. builds ghc (stage 1), libraries, etc.) make stage2 builds the stage 2 compiler make stage3 builds the stage 3 compiler make bootstrap does 'make all' followed by 'make stage2' make bootstrap3 does 'make all' followed by 'make stage2; make stage3' In ghc/compiler, the story is now: make all works as before (i.e. builds stage 1 only) make boot generate build dirs and dependencies for stage 1 make boot stage=N generate build dirs and dependencies for stage N make stageN make stage=N builds stage N compiler. Run it in-place using ./stageN/ghc-inplace. I haven't decided what to do about 'make install' yet, and this still needs documenting in the Building Guide. Also, you still get the same $(GhcHcOpts) for each stage.
-
- 30 Sep, 2002 3 commits
-
-
simonmar authored
Use $(RM) rather than explicit 'rm -f'
-
simonmar authored
Set .DELETE_ON_ERROR rather than using the strange construction <command> || ($(RM) $@; exit 1) in a few places.
-
simonmar authored
Replace .PRECIOUS: %.hs with .SECONDARY: %.hs .PRECIOUS is the wrong thing: it keeps the file when 'make' is killed, as well as preventing automatic deletion. .SECONDARY just prevents the automatic deletion. Spotted by: Ian Lynagh.
-
- 30 Aug, 2002 1 commit
-
-
simonmar authored
oops, 'make Foo.s' in ghc/rts was completely busted MERGE TO STABLE
-
- 14 May, 2002 1 commit
-
-
matthewc authored
Bootstrapping fixes: * Correct includes and libraries to use new libraries/ tree * Check UseGhcForCc for "YES" instead of ""
-
- 30 Jan, 2002 1 commit
-
-
simonmar authored
Introduce a new tweakable $(UseGhcForCc) which if set to "YES" enables a different set of suffix rules which build C-ish files using $(HC) instead of $(CC). We'll use this to clean up the ghc/rts Makefile.
-
- 23 Oct, 2001 1 commit
-
-
rrt authored
When an SGML doc "foo" is built as HTML, touch "foo.html", so that the build system can tell it has been built.
-
- 16 Aug, 2001 1 commit
-
-
sof authored
Death to GHC_INCLUDE_DIR (well, almost). - mk/target.mk: get rid off the abomination of having SRC_CC_OPTS include GHC_INCLUDE_DIR and GHC_RUNTIME_DIR for all fptools/ projects. - mk/suffix.mk: %.pp suffix rule no longer hardwires in the use of GHC_INCLUDE_DIR; just $(CPP_OPTS). ==> If you want GHC_INCLUDE_DIR on the include path, better add it to SRC_CPP_OPTS (say) at the point where you need it (ghc/compiler/Makefile and ghc/lib/std/Makefile do this now). - wipe out the use of -I$(GHC_INCLUDE_DIR) in HC_OPTS in hslibs/; not needed. - hslibs/mk/boilerplate.mk still define GHC_{IO_}INCLUDE_DIR for the purpose of using it when compiling .c files. It should be possible to get rid off it by having CC=$(HC), but I haven't imposed that change (yet).
-
- 04 Aug, 2001 1 commit
-
-
ken authored
NB: This commit renames some files. In each of your build directories, you will need to: rm -f ghc/compiler/prelude/primops.txt rm -f ghc/compiler/prelude/primops.i rm -f ghc/lib/std/PrelGHC.hi-boot lndir ../fptools # or wherever your CVS working directory is The change: Run PrelGHC.hi-boot through the preprocesor, as we already do primops.txt. This commit introduces a new prefix, ".pp", which means "run through preprocesor". In a previous commit, I changed ghc/compiler/Makefile to preprocess primops.txt into primops.i. That is gone now. We now preprocess primops.txt.pp (a file in the CVS repository) into primops.txt (a platform-dependent file, created at build time). We also preprocess PrelGHC.hi-boot.pp (a file in the CVS repository) into PrelGHC.hi-boot (a platform-dependent file, created at build time). The reason for using the preprocessor is because fewer primops are defined if SUPPORT_LONG_LONGS is undefined. SUPPORT_LONG_LONGS is undefined on 64-bit architectures such as the Alpha.
-
- 23 Jul, 2001 1 commit
-
-
simonmar authored
add a couple of missing ';'
-
- 24 May, 2001 1 commit
-
-
simonmar authored
Fixes for the hsc2hs rules.
-
- 18 May, 2001 1 commit
-
-
simonmar authored
use HSC2HS_OPTS
-
- 09 May, 2001 1 commit
-
-
simonmar authored
Use -hcsuf to avoid clobbering .hc files when building several ways, and clean up the -osuf usage (put all the suffix-changing options in one place).
-
- 07 May, 2001 1 commit
-
-
sof authored
support for building .pdf docs
-
- 03 May, 2001 1 commit
-
-
simonmar authored
disable the hsc2hs suffix rules when booting from .hc files.
-
- 29 Mar, 2001 2 commits
- 23 Mar, 2001 1 commit
-
-
simonmar authored
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.
-
- 04 Jan, 2001 1 commit
-
-
simonmar authored
add suffix rule for hsc2hs
-
- 22 Dec, 2000 1 commit
-
-
simonmar authored
add %.hs : %.y suffix rule
-
- 20 Dec, 2000 1 commit
-
-
rrt authored
Fixed GreenCard rules and flags (from GreenCard source).
-
- 27 Nov, 2000 4 commits
- 21 Nov, 2000 1 commit
-
-
rrt authored
Added rules for GreenCard.
-
- 07 Nov, 2000 1 commit
-
-
simonmar authored
Merge before-ghci -> before-ghci-branch-merged in the non-ghc parts of the tree.
-
- 08 May, 2000 1 commit
-
-
rrt authored
Replaced SGML2INFO stuff (which is no longer supported) with SGML2PS (which is, and may well be useful to some).
-
- 20 Apr, 2000 1 commit
-
-
panne authored
Improved rules for stubs. Not perfect yet, but better than before.
-