- 14 Sep, 2000 1 commit
-
-
simonpj authored
Fix bug in the driver that led to Fail: system error Action: getFileStatus It was due to Simon M's recent addition of modification-time checking. You forgot to check whether the file M.o existed!
-
- 12 Sep, 2000 1 commit
-
-
simonmar authored
- Add in support for -recomp, which I forgot. - force -fvia-C if the -C flag is specified on the cmd line
-
- 07 Sep, 2000 1 commit
-
-
simonpj authored
* The simplifier used to glom together all the top-level bindings into a single Rec every time it was invoked. The reason for this is explained in SimplCore.lhs, but for at least one simple program it meant that the simplifier never got around to unravelling the recursive group into non-recursive pieces. So I've put the glomming under explicit flag control with a -fglom-binds simplifier pass. A side benefit is that because it happens less often, the (expensive) SCC algorithm runs less often.
-
- 05 Sep, 2000 1 commit
-
-
simonmar authored
- add -fno-warn-incomplete-patterns - rename TMPDIR to DEFAULT_TMPDIR - check TMPDIR environment variable (apprently missing before) - add a bunch of anti-flags for profiling: -no-auto-all and friends.
-
- 18 Aug, 2000 2 commits
-
-
qrczak authored
Oops, #include reordering does not work if -#include refers to names from Stg.h. Changes reverted. The original problem requires -optc-Dfoo workaround.
-
qrczak authored
Output -#include options before packages' C includes, to be able to -#include a file that #defines e.g. _XOPEN_SOURCE and #includes a C header depending on _XOPEN_SOURCE that is also included from Stg.h. First inclusion of this header should be after the #define.
-
- 09 Aug, 2000 1 commit
-
-
simonmar authored
make this compile with pre-4.09 GHCs.
-
- 07 Aug, 2000 1 commit
-
-
qrczak authored
Use \{ \} in regex instead of { } for literal { }. Hope it should be OK in theory; needed in practice here.
-
- 06 Aug, 2000 1 commit
-
-
panne authored
Replaced `catchIO justIoErrors' with `catchJust ioErrors'
-
- 04 Aug, 2000 3 commits
- 03 Aug, 2000 2 commits
- 02 Aug, 2000 1 commit
-
-
simonmar authored
Assimilate mkdependHS into the driver, obsoleting the old Perl version. The functionality is pretty much identical, except a few of the flags accepted by the old version aren't implemented (--exclude-module, --exclude-directory, --include-module). If anyone needs these options, please speak up.
-
- 27 Jul, 2000 2 commits
- 25 Jul, 2000 1 commit
-
-
michaelw authored
giving the version number when asked for is NOT an error, therefore output now goes to stdout (cf. Coding Standards)
-
- 24 Jul, 2000 1 commit
-
-
simonmar authored
Sigh, change the package definition again. We weren't making a distinction between libraries which need a suffix tag (eg. libHSstd_p), and those that don't (eg. libHSstd_cbits). The package spec now has two components for libraries, hs_libraries (tagged) and extra_libraries (untagged). The ordering of these components is important: we specify that hs_libraries are linked before extra_libraries. This sounds problematic if you want to link some plain C libraries before some Haskell libs, but in these cases it should be possible to create separate packages for the two libs and specify the dependencies explicitly.
-
- 23 Jul, 2000 1 commit
-
-
panne authored
Strictfp-like behaviour is the default now, which can be switched off via -fexcess-precision. (Has anybody a better name for this option?)
-
- 21 Jul, 2000 1 commit
-
-
rrt authored
Add dll as a fully-fledged way.
-
- 19 Jul, 2000 2 commits
-
-
rrt authored
Gave driver access to bash for running system calls under Windows by writing command out to a temp file, then sending that as the argument to "sh -". Sigh. This is #ifdefed on mingw32_TARGET_OS; saner OSs just use system as normal.
-
rrt authored
Stop doing all system calls via "sh -c", as this messed up quoting.
-
- 18 Jul, 2000 1 commit
-
-
simonmar authored
fix finding of the usage message (again).
-
- 17 Jul, 2000 3 commits
- 16 Jul, 2000 1 commit
-
-
panne authored
* Fixed handling of filename arguments without extension * Added new -fstrictfp flag * Some cosmetic changes (unless/when instead of if)
-
- 14 Jul, 2000 1 commit
-
-
simonmar authored
Add -keep-tmp-files flag, to tell the driver not to delete tmp files. Useful mainly for debugging the driver, and obsoletes the GHC folklore of using ^Z for this purpose.
-
- 13 Jul, 2000 1 commit
-
-
sewardj authored
sparc NCG is now enabled by default for non-opt compilation.
-
- 08 Jul, 2000 1 commit
-
-
panne authored
Generalized the package file format a little bit: include directories, include files, and options are now lists of Strings.
-
- 07 Jul, 2000 1 commit
-
-
simonmar authored
fix -keep-hc-file-too
-
- 06 Jul, 2000 1 commit
-
-
simonmar authored
no need to set hsc_lang = HscC when -split-objs is on.
-
- 05 Jul, 2000 3 commits
-
-
simonmar authored
bullet-proof the package code a bit more; check for write access to the configuration file before doing anything, check whether we're adding a package that's already there, etc.
-
simonmar authored
Packages can now be added/removed from an installed GHC as follows: $ ./ghc-inplace --list-packages gmp, rts, std, lang, concurrent, data, net, posix, text, util, hssource, win32, com, std2 $ ./ghc-inplace --add-package <newpkg Reading package info from stdin... done. Saving old package config file... done. Writing new package config file... done. $ ./ghc-inplace --list-packages gmp, rts, std, lang, concurrent, data, net, posix, text, util, hssource, win32, com, std2, mypkg $ ./ghc-inplace --delete-package mypkg Saving old package config file... done. Writing new package config file... done. $ ./ghc-inplace --list-packages gmp, rts, std, lang, concurrent, data, net, posix, text, util, hssource, win32, com, std2 This is a first stab at the kind of functionality we need for installing Haskell libraries via RPMs: the RPM script would install the libraries, and then do a "ghc --add-package" passing the appropriate paths. You'd then have "ghc -package" at your disposal to use the newly installed package. Similarly on de-install, the RPM script would run "ghc --delete-package". Also in this commit: prettify the package dumping.
-
sewardj authored
Make -S work when going via the NCG.
-
- 03 Jul, 2000 1 commit
-
-
simonmar authored
fix phase ordering for NCG + -split-objs.
-
- 30 Jun, 2000 2 commits
- 29 Jun, 2000 1 commit
-
-
panne authored
Fixed buglet in search for ghc-usage.txt
-