Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a comment | Ian Lynagh | 2013-06-02 | 1 | -1/+1 |
| | | | | Make expands things even in comments | ||||
* | Add a comment | Ian Lynagh | 2013-06-01 | 1 | -0/+4 |
| | |||||
* | Don't link base/rts/... into C wrapper programs | Ian Lynagh | 2013-05-16 | 1 | -2/+2 |
| | |||||
* | Make dynamic GHC no Windows installable too | Ian Lynagh | 2013-05-16 | 1 | -11/+32 |
| | | | | | We need different paths in the wrapper, as teh installed tree is a different shape to the build tree. | ||||
* | Don't try to build bindist wrappers on Windows | Ian Lynagh | 2013-05-15 | 1 | -0/+2 |
| | |||||
* | Link to the right RTS whenever we build a .dll on Windows | Ian Lynagh | 2013-05-15 | 1 | -12/+0 |
| | | | | | When GHCi makes temporary DLLs, those also need to be linked against the right RTS, or we won't be able to load them. | ||||
* | Define the right RTS config in the Windows dyn wrapper programs | Ian Lynagh | 2013-05-14 | 1 | -0/+17 |
| | | | | | | This is particularly important as without it validate fails, as it tries to pass RTS options to haddock, and with the default RTS config those options aren't permitted. | ||||
* | Fix the GHC package DLL-splitting | Ian Lynagh | 2013-05-14 | 2 | -1/+9 |
| | | | | | | | There's now an internal -dll-split flag, which we use to tell GHC how the GHC package is split into 2 separate DLLs. This is used by Packages.isDllName to determine whether a call is within the same DLL, or whether it is a call to another DLL. | ||||
* | Simplify ghc-cabal | Ian Lynagh | 2013-05-14 | 2 | -2/+2 |
| | | | | | | It now consistently takes directory and distDirectory as its first 2 arguments. Also, it only supports configuring 1 package at a time now (we weren't using the ability to configure more than one at once). | ||||
* | Merge win:/cygdrive/c/ghc/git/dt | Ian Lynagh | 2013-05-12 | 2 | -1/+32 |
|\ | |||||
| * | More work towards dynamic programs on Windows | Ian Lynagh | 2013-05-12 | 1 | -1/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dynamic GHC is now working in-place, but pathologically slow due to the DLL split. (GHC assumes that all intra-package calls are in the same DLL, but that isn't true when we split the GHC package into 2 DLLs. That means that GHC's startup time is around 22 seconds, as it is doing run-time linking). Also, ghci isn't actually working yet: $ inplace/bin/ghc-stage2 --interactive GHCi, version 7.7.20130512: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... <command line>: can't load .so/.DLL for: HSghc-prim-0.3.1.0.dll (addDLL: could not load DLL) ghc-stage2.exe: HSghc-prim-0.3.1.0: The specified module could not be found. | ||||
| * | We actually need to use -threaded/-debug when linking /all/ DLLs | Ian Lynagh | 2013-05-12 | 1 | -0/+12 |
| | | | | | | | | Not just base, integer-gmp and ghc-prim. | ||||
* | | Generate dependencies for .cmm files properly | Ian Lynagh | 2013-05-09 | 2 | -6/+13 |
|/ | |||||
* | Use -rpath flags on all Elf OSes, not just Linux | Ian Lynagh | 2013-04-27 | 1 | -1/+1 |
| | | | | Patch from pgj; part of #7819. | ||||
* | When linking with $ORIGIN rpaths, use the "-z origin" linker flag too | Ian Lynagh | 2013-04-27 | 1 | -1/+1 |
| | | | | | On FreeBSD, one needs use "-z origin" in order to enable resolution of $ORIGIN in RPATH. Part of #7819. | ||||
* | pass the correct -Dxxx_HOST_ARCH and -Dxxx_HOST_OS to hsc2hs; Fixes #7761. | Ian Lynagh | 2013-04-21 | 1 | -2/+0 |
| | | | | Patch from Stephen Blackheath. | ||||
* | Fix "make 2" in ghc/ | Ian Lynagh | 2013-04-21 | 1 | -3/+12 |
| | | | | The ghc-stage1_INPLACE variable wasn't being defined | ||||
* | Use different exeext variables for each stage; fixes #7709 | Ian Lynagh | 2013-04-20 | 1 | -1/+1 |
| | | | | | Currently they are all set to the same value, but when cross-compiling they could be set to different values. | ||||
* | Follow build system changes in integer-gmp | Ian Lynagh | 2013-04-20 | 3 | -2/+10 |
| | | | | Also a couple of other fixes and sanity checks along the way. | ||||
* | Some build system refactoring | Ian Lynagh | 2013-04-20 | 8 | -27/+27 |
| | |||||
* | Add a check that the Windows DLL split is OK; fixes #7780 | Ian Lynagh | 2013-04-07 | 1 | -0/+11 |
| | |||||
* | Build system fix: really print the number of symbols in DLLs | Ian Lynagh | 2013-04-06 | 1 | -1/+1 |
| | |||||
* | When making a DLL, print the number of symbols that are in it | Ian Lynagh | 2013-04-06 | 1 | -0/+1 |
| | |||||
* | Tweak the _HC_OPTS variables | Ian Lynagh | 2013-03-23 | 2 | -6/+9 |
| | | | | | We no longer pass -hisuf/-osuf flags to "ghc -M". Doing so didn't really make sense with the way the -dep-suffix flags now work. | ||||
* | Remove some commented out build system code | Ian Lynagh | 2013-03-19 | 1 | -11/+0 |
| | |||||
* | Fix building when $(CC_STAGE0) contains spaces | Ian Lynagh | 2013-03-19 | 1 | -2/+2 |
| | | | | Spotted by Bill Tutt | ||||
* | Optimistically assume that LD_LIBRARY_PATH works for all platforms | Ian Lynagh | 2013-03-19 | 1 | -3/+3 |
| | | | | | | other than Windows and OS X. It's known to work on Linux and FreeBSD. | ||||
* | Fix ohi-sanity-check when we have ways other than v and dyn enabled | Ian Lynagh | 2013-03-17 | 1 | -1/+5 |
| | | | | | It thought that /all/ ways should create the dyn o/hi files, but only the v way does. | ||||
* | Partial support for dynamic ghc on Windows | Ian Lynagh | 2013-03-16 | 1 | -1/+9 |
| | |||||
* | By default, use the dynamic way for programs in the GHC tree | Ian Lynagh | 2013-03-15 | 4 | -6/+6 |
| | | | | | In particular, this means that GHCi will use DLLs, rather than loading object files itself. | ||||
* | Finish adding support for 2 DLLs in the ghc package; fixes #5987 | Ian Lynagh | 2013-03-13 | 1 | -3/+17 |
| | |||||
* | Merge branch 'master' of win:c:/ghc/git/cygwin/. | Ian Lynagh | 2013-03-12 | 1 | -8/+33 |
|\ | |||||
| * | Fix building the GHC package DLL on Windows | Ian Lynagh | 2013-03-11 | 1 | -8/+33 |
| | | | | | | | | | | | | We now put a handful of modules in a separate DLL. For now the list is hand-written, but we could automate it in the future. | ||||
* | | Update Cabal | Ian Lynagh | 2013-03-11 | 1 | -7/+6 |
| | | |||||
* | | Fix construction of ALL_ALEX_OPTS and ALL_AS_OPTS | Max Bolingbroke | 2013-03-10 | 2 | -2/+2 |
|/ | | | | Signed-off-by: David Waern <david.waern@gmail.com> | ||||
* | Don't pass -dynamic-too to GHC when compiling C files | Ian Lynagh | 2013-03-09 | 1 | -1/+1 |
| | |||||
* | Add some extra sanity checking to the (l)hs->o rules | Ian Lynagh | 2013-03-09 | 1 | -0/+17 |
| | |||||
* | Automatically add the $(exeext) to program names | Ian Lynagh | 2013-03-03 | 3 | -11/+25 |
| | | | | | | | We now define _PROGNAME, and _PROG is automatically defined with $(exeext). This will shortly automatically use the right exeext depending on what stage it is being compiled with (exeext may be different for different stages when cross-compiling). | ||||
* | Automatically define _INPLACE variables for perl programs too | Ian Lynagh | 2013-03-03 | 1 | -2/+7 |
| | | | | and use them for split | ||||
* | Remove the _INSTALL_IN support in the build system | Ian Lynagh | 2013-03-03 | 1 | -10/+0 |
| | | | | | It doesn't seem to do anything that _INSTALL and _INSTALL_INPLACE can't do. | ||||
* | Use unlit_INPLACE rather than UNLIT in the build system | Ian Lynagh | 2013-03-03 | 1 | -2/+2 |
| | |||||
* | Use more of the automatically generated INPLACE variables | Ian Lynagh | 2013-03-03 | 4 | -9/+9 |
| | |||||
* | Define $(prog)_INPLACE variables automatically, and start using them | Ian Lynagh | 2013-03-03 | 3 | -8/+14 |
| | |||||
* | Add PACKAGES_STAGE0 to build-dirs too; fixes #7700 | Ian Lynagh | 2013-03-03 | 1 | -1/+4 |
| | | | | | | | | This is sometimes needed when cross-compiling, as some packages may be built in stage 0 but not stage 1. In order to make everything work out, this also removes the requirement that the build-dirs are in dependency order | ||||
* | Give hsc2hs different options in different stages; fixes #7705 | Ian Lynagh | 2013-03-02 | 1 | -2/+3 |
| | | | | Based on patch from Stephen Blackheath. | ||||
* | Rename $(Windows) to $(Windows_Host) | Ian Lynagh | 2013-03-01 | 2 | -3/+3 |
| | |||||
* | Change how the build system handles packages | Ian Lynagh | 2013-03-01 | 3 | -49/+44 |
| | | | | | This makes the build system a little simpler, and in particular will make it easier to handle the changes needed for cross-compilation. | ||||
* | Tweak the sed command so that it works on OSX | Ian Lynagh | 2013-02-23 | 1 | -1/+11 |
| | | | | | Using { } with sed on OS X requires using newlines rather than semicolons. I've rewritten the sed so that no { } are necessary. | ||||
* | Add another chapter to the hi-rule novel | Ian Lynagh | 2013-02-22 | 1 | -1/+19 |
| | |||||
* | Make the build system use -dynamic-too if both way v and dyn are being built | Ian Lynagh | 2013-02-22 | 5 | -8/+38 |
| |