summaryrefslogtreecommitdiff
path: root/mk/bootstrap.mk
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for the porting process for 6.6Ian Lynagh2006-10-031-31/+34
|
* match up more closely with compiler/main/DynFlags.hs:machdepCCOptsSimon Marlow2006-05-151-2/+6
| | | | In particular, add -fno-builtin to x86 and x86_64, which was missing.
* remove code not required in the new source tree layoutSimon Marlow2006-05-021-11/+0
|
* Reorganisation of the source treeSimon Marlow2006-04-071-3/+3
| | | | | | | | | | | | | | | Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.
* [project @ 2005-05-10 10:29:49 by simonmar]simonmar2005-05-101-4/+4
| | | | | | Bootstrap fix from GNU/Hurd port From: Thomas Schwinge
* [project @ 2005-01-27 13:00:14 by simonmar]simonmar2005-01-271-4/+7
| | | | bootstrapping wibbles
* [project @ 2005-01-27 11:55:37 by simonmar]simonmar2005-01-271-2/+3
| | | | Include package Cabal when linking
* [project @ 2004-10-07 03:19:51 by dons]dons2004-10-071-1/+3
| | | | | Need suffix.mk, otherwise .hc bootstrapping dies in ghc/compiler, with "No rule to make target Foo.o" error.
* [project @ 2004-02-04 10:00:43 by simonmar]simonmar2004-02-041-3/+4
| | | | Use parsec package when bootstrapping.
* [project @ 2004-01-15 18:04:45 by ross]ross2004-01-151-3/+2
| | | | The haskell-src package is no longer needed for bootstrapping.
* [project @ 2004-01-15 14:43:17 by igloo]igloo2004-01-151-4/+5
| | | | Split Template Haskell out to its own package and update docs and tests.
* [project @ 2003-09-02 10:23:30 by simonmar]simonmar2003-09-021-3/+24
| | | | | | Hopefully make this work when GhcWithInterpter=YES, without breaking the case when GhcWithInterpreter=NO (the latter is usually the case when doing an unregisterised bootstrap).
* [project @ 2003-07-24 13:40:05 by simonmar]simonmar2003-07-241-2/+5
| | | | Fix for unregisterised bootstrapping
* [project @ 2003-07-24 11:46:01 by simonmar]simonmar2003-07-241-2/+2
| | | | Only haskell98 and base libraries are needed to link the compiler.
* [project @ 2003-07-24 11:03:07 by simonmar]simonmar2003-07-241-26/+1
| | | | | - Move suffix rules from bootstrap.mk to suffix.mk - Make the bootstrap suffix rules $(odir)-aware, so they work for the compiler
* [project @ 2003-07-24 10:38:33 by simonmar]simonmar2003-07-241-12/+2
| | | | | - Remove hslibs stuff (we don't need hslibs for bootstrapping now) - Add libraries/unix/include to the -I list
* [project @ 2002-08-14 14:06:25 by sof]sof2002-08-141-1/+5
| | | | | If booting unregisterised, add -DNO_REGS -DUSE_MINIINTERPRETER to PLATFORM_HC_BOOT_CC_OPTS
* [project @ 2002-08-12 14:40:25 by sof]sof2002-08-121-33/+36
| | | | | | HC_BOOT_LD_OPTS: - if needed, include ghc/rts/gmp on -L list. - sync -u list wrt ghc/rts/rts.conf.in
* [project @ 2002-08-09 21:28:09 by sof]sof2002-08-091-2/+2
| | | | Added GHC_MANGLER_DIR, GHC_SPLIT_DIR + fix .raw_s -> .s bootstrap suffix rule
* [project @ 2002-05-14 08:25:46 by matthewc]matthewc2002-05-141-6/+6
| | | | | | Bootstrapping fixes: * Correct includes and libraries to use new libraries/ tree * Check UseGhcForCc for "YES" instead of ""
* [project @ 2002-01-15 05:39:14 by sof]sof2002-01-151-33/+40
| | | | updates & fixes to hc-bootstrapping story; from Thomas Nordin
* [project @ 2001-09-25 18:08:47 by ken]ken2001-09-251-2/+2
| | | | | Pass the "-mieee" flag to gcc, so that we get IEEE floating-point. MERGE TO STABLE
* [project @ 2001-09-25 13:00:41 by simonmar]simonmar2001-09-251-2/+2
| | | | | | Fix the mangle rule since the definition of GHC_MANGLER changed MERGE TO STABLE
* [project @ 2001-09-23 21:29:35 by ken]ken2001-09-231-3/+3
| | | | | | | We need to pass the -w flag to gcc when compilng *_stub.c files in addition to when compilng *.hc files. MERGE TO STABLE
* [project @ 2001-09-04 18:29:20 by ken]ken2001-09-041-5/+10
| | | | | | | | | | | | | | | | | | | | | | | THIS CHANGE AFFECTS ALL OBJECT FILES COMPILED FROM HASKELL. Please say "make -C ghc/lib/std clean; make -C hslibs clean". This commit eliminates spurious warning messages when compiling on the Alpha. There are two kinds of spurious warning messages: (1) gcc: -noprefix_recognition: linker input file unused since linking not done This warning is because we pass the flag "-Xlinker -noprefix_recognition" to gcc. We remove this warning by no longer passing the flag to gcc, and by removing the reason we were passing the flag in the first place: __init_* is now renamed to __stginit_*. (2) .../includes/Regs.h: warning: call-clobbered register used for global register variable This warning and all other warnings except (1), we eliminate by passing the -w flag to gcc. MERGE TO STABLE BRANCH
* [project @ 2001-07-24 04:45:59 by ken]ken2001-07-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added -static, a flag for compiling on the Alpha that is already listed under machdepCCOpts in DriverFlags.hs. Without it, the following assert in GC.c fails: /* make sure the info pointer is into text space */ ASSERT(q && (LOOKS_LIKE_GHC_INFO(GET_INFO(q)) || IS_HUGS_CONSTR_INFO(GET_INFO(q)))); Added -Xlinker -noprefix_recognition, a flag for Alpha compilation that I just added to machdepCCOpts in DriverFlags.hs. We need this flag to disable the following documented behavior of ld(1) on Digital UNIX: All routines that start with __init_ are treated, by default, as initialization routines. These are routines that are called without an argument when the file that contains them is loaded or when the program that contains them is started. Unfortunately, this flag produces the annoying (but harmless) gcc message gcc: -noprefix_recognition: linker input file unused since linking not done (See also ghc/compiler/main/DriverFlags.hs)
* [project @ 2001-07-23 22:33:52 by ken]ken2001-07-231-1/+14
| | | | | Added "--enable-hc-boot-unregisterised" option to configure, for bootstrapping from unregisterised HC files.
* [project @ 2001-05-25 10:53:59 by simonmar]simonmar2001-05-251-2/+2
| | | | | | Add -lm to HC_BOOT_LIBS *** MAYBE MERGE ***
* [project @ 2001-05-25 10:50:27 by simonmar]simonmar2001-05-251-2/+3
| | | | | | Link with HStext_cbits in case we need regex (bug from Lennart). *** MAYBE MERGE ***
* [project @ 2001-05-22 11:29:04 by simonmar]simonmar2001-05-221-1/+2
| | | | | Add -L$(FPTOOLS_TOP_ABS)/ghc/rts/gmp to the link flags (noticed by: Lennart).
* [project @ 2001-05-01 09:22:45 by simonmar]simonmar2001-05-011-2/+2
| | | | fix HC bootstrapping after LibsReadline no longer has the -l prefixes.
* [project @ 2001-04-24 15:06:32 by simonmar]simonmar2001-04-241-2/+2
| | | | hc bootstrapping fixes
* [project @ 2001-03-27 12:59:18 by simonmar]simonmar2001-03-271-2/+2
| | | | wibble
* [project @ 2001-03-27 11:37:39 by simonmar]simonmar2001-03-271-6/+10
| | | | non-absolute paths didn't work.
* [project @ 2001-03-27 09:44:56 by simonmar]simonmar2001-03-271-7/+7
| | | | use fewer absolute paths
* [project @ 2001-03-27 09:38:26 by simonmar]simonmar2001-03-271-3/+17
| | | | fixes for linking the compiler
* [project @ 2001-03-26 16:58:09 by simonmar]simonmar2001-03-261-8/+52
| | | | nearly there: linking works now
* [project @ 2001-03-23 16:36:20 by simonmar]simonmar2001-03-231-0/+64
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.