- Jul 06, 2000
-
-
Reuben Thomas authored
Corrected URLs.
-
Simon Marlow authored
New section on Packages, collecting together the various package-related documentation and adding some new stuff about the package management features.
-
Reuben Thomas authored
Bump the version no.
-
Simon Marlow authored
ghc 4.06 didn't have -package, so use it only for 4.07+.
-
- Jul 05, 2000
-
-
Simon Marlow 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.
-
Simon Marlow 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.
-
Keith Wansbrough authored
Add -t flag to specify title of report.
-
Julian Seward authored
Rename the marker used by Diff_Gcc_Nat.hs to ___ncg_debug_marker, to make it clear it has nothing to do with the usual object-splitting machinery. Improve Diff_Gcc_Nat: * Emit a warning, and stop, if there are no debug markers in the NCG code. * Handle .uahalf and .uaword, which appear in sparc assembly, but not x86.
-
Julian Seward authored
Make -S work when going via the NCG.
-
- Jul 04, 2000
-
-
sven.panne@aedion.de authored
From the Ancient Book of Infinite CS Wisdom: "Thou shalt remove unused imports after dead code removal..." ;-)
-
Reuben Thomas authored
Remove info target for install (we can no longer make info from SGML).
-
Simon Marlow authored
Don't need to install HsStd.h in ghc/includes anymore. The driver looks for it here.
-
- Jul 03, 2000
-
-
sven.panne@aedion.de authored
Print "Interface file unchanged" and "Module version unchanged, but usages differ; hence need new hi file" only when -ddump-rn-trace flag has been given. This is more consistent with the rest of GHC and the *nix world, and messes up less tests.
-
sven.panne@aedion.de authored
Added semicolon to synch with current interface file syntax. Note: The `class' line contains a kind bug, but this is not checked. Bug or feature?
-
sven.panne@aedion.de authored
Removed foralls in expected output
-
sven.panne@aedion.de authored
Synched expected output with reality
-
sven.panne@aedion.de authored
Litlits don't really make much sense for the NCG (i.e. are a hack), so compile via C.
-
sven.panne@aedion.de authored
Reverted my last change to this file: Constant folding should really yield *excatly* the same result as runtime computation.
-
sven.panne@aedion.de authored
Synched with reality again. The expected output is a extremely fragile...
-
sven.panne@aedion.de authored
Putting parentheses around expressions involving a mixture of multiplicative and additive operators might sometimes be a cunning idea... :-} Otherwise (591125662431::Int) `div` (517::Int) is correctly converted into (567659506 + (275 * 2147483647)) `div` 517 but 591125662431 `div` (517::Int) turns into the messed up 567659506 + ((275 * 2147483647) `div` 517)
-
Keith Wansbrough authored
Add note that `gmake clean' should *not* destroy the work of `gmake boot'. In all cases, the sequence autoconf, ./configure, gmake boot, gmake clean, gmake all should work correctly. ** Please verify that this is indeed the case! **
-
Simon Marlow authored
DEBUG ==> NCG_DEBUG
-
Simon Marlow authored
D'oh! Only generate split markers when actually splitting
-
Simon Marlow authored
DEBUG ==> NCG_DEBUG
-
Simon Marlow authored
fix phase ordering for NCG + -split-objs.
-
Simon Marlow authored
Insert split markers properly in the NCG. -split-objs is on its way to working with the NCG.
-
Simon Marlow authored
dead code removal
-
- Jul 02, 2000
-
-
sven.panne@aedion.de authored
Removed -noC flag, which has vanished from the driver
-
sven.panne@aedion.de authored
Don't use addr2Integer for large integral literals anymore, use a Horner schema with numbers in the Int range instead. This improves constant folding, so e.g. (0x87654321 :: Word32) is evaluated at compile time now. In theory we can completely say Good-bye to addr2Integer, but for the time being it's still there. Feel free to nuke it... >:-)
-
sven.panne@aedion.de authored
Don't warn the user about integer overflow during constant folding anymore. It's not done at runtime either, and compilation of completely harmless things like ((124076834 :: Word32) + (2147483647 :: Word32)) yielded a warning.
-
- Jun 30, 2000
-
-
sven.panne@aedion.de authored
Hackily quote -#include options before passing them to mkdependHS
-
sven.panne@aedion.de authored
Remove parentheses around C function/macros names. This is necessary because cpp does *not* replace e.g. (eqForeignObj)(f1,f2) with ((f1)==(f2)) (see PrimOps.h), heaven (or K&R) knows why. OK foreign importing macros is a hack, but GHC seems to depend on it.
-
Simon Marlow authored
- fix copyrights - remove some unused imports - comment formatting fixes
-
Simon Peyton Jones authored
In a CCall, a DynamicTarget has a unique that is used only to generate a uniquely-named typedef. It should not be used when comparing CCalls (e.g. when seeing if interface files have changed). So the main change in this commit is to fix the Eq instance for PrimOp.CCallTarget, but I took the opportunity to clean up the CCallTarget interface a little.
-
Simon Peyton Jones authored
Improve error message
-
Simon Marlow authored
wibble
-
Simon Marlow authored
Use GhcMinVersion to pick the correct cmdline args to build the driver.
-
Simon Marlow authored
Check the version of the installed ghc, and set GhcVersion, GhcMajVersion, GhcMinVersion and GhcPatchLevel make variables.
-
Simon Marlow authored
_Haskell1Version ==> cHaskell1Version
-
- Jun 29, 2000
-
-
sven.panne@aedion.de authored
Added test for Typeable instance
-