simonmar [Fri, 3 Nov 2000 16:23:39 +0000 (16:23 +0000)]
[project @ 2000-11-03 16:23:37 by simonmar]
"make clean" in here now works as advertised.
sewardj [Fri, 3 Nov 2000 11:36:30 +0000 (11:36 +0000)]
[project @ 2000-11-03 11:36:30 by sewardj]
Finally get CompManager to compile. Also rm some redundant imports.
sewardj [Fri, 3 Nov 2000 11:30:23 +0000 (11:30 +0000)]
[project @ 2000-11-03 11:30:23 by sewardj]
stgSyn/StgInterp_HC_OPTS ---> ghci/StgInterp_HC_OPTS
simonmar [Fri, 3 Nov 2000 11:29:00 +0000 (11:29 +0000)]
[project @ 2000-11-03 11:29:00 by simonmar]
don't generate heimdall.summary unless -heimdall is on.
simonmar [Fri, 3 Nov 2000 11:25:35 +0000 (11:25 +0000)]
[project @ 2000-11-03 11:25:35 by simonmar]
Prepend "./" to the command to run only if the file exists in the
current directory, rather than based on whether the command begins
with a ''/'. This means that 'make HC=ghc-4.08.1' in ghc/tests works
as expected.
simonmar [Fri, 3 Nov 2000 10:42:39 +0000 (10:42 +0000)]
[project @ 2000-11-03 10:42:39 by simonmar]
remind me that -nohi doesn't do anything
simonmar [Fri, 3 Nov 2000 10:38:26 +0000 (10:38 +0000)]
[project @ 2000-11-03 10:38:26 by simonmar]
remind me what this test does
simonmar [Thu, 2 Nov 2000 14:33:15 +0000 (14:33 +0000)]
[project @ 2000-11-02 14:33:15 by simonmar]
Found a better way to do the arch test for $(GhcWithInterpreter), used
it for $(GhcWithNativeCodeGen) too and removed one $(shell...).
simonmar [Thu, 2 Nov 2000 14:27:02 +0000 (14:27 +0000)]
[project @ 2000-11-02 14:27:01 by simonmar]
Cleaning up the configuration/build process.
- New build.mk option: GhcWithInterpreter. It has reasonable
defaults, and shouldn't need to be overriden (you get the interpreter
if you're bootstrapping with ghc 4.09+ on an ELF architecture, at
the moment).
- compilation manager now lives in compiler/compMan. compiler/ghci
contains only interpreter-related files.
- WithGhcHc has gone, it now defaults to $(GHC). This is so that
we can reliably determine the version of $(GHC) using the stuff that
configure tells us. configure gets a new --with-ghc option so you
can specify which ghc to use.
sewardj [Thu, 2 Nov 2000 13:58:45 +0000 (13:58 +0000)]
[project @ 2000-11-02 13:58:44 by sewardj]
Most, but not all changes needed to get CompManager to compile.
simonmar [Thu, 2 Nov 2000 13:36:44 +0000 (13:36 +0000)]
[project @ 2000-11-02 13:36:44 by simonmar]
Remove GhcWithRegisterised since it isn't used. It might be
re-instated later if/when we decide on the right way to implement it.
simonpj [Thu, 2 Nov 2000 10:17:49 +0000 (10:17 +0000)]
[project @ 2000-11-02 10:17:49 by simonpj]
Omitted do-nothing case in SimplCore
simonpj [Wed, 1 Nov 2000 17:15:30 +0000 (17:15 +0000)]
[project @ 2000-11-01 17:15:28 by simonpj]
More renamer commits
Versioning now works properly I think.
The main irritation is that interface files now have fuly-qualified names for
*everything*, even things defined in that module. This is a deficiency in
the pretty printing for interface files. Probable solution: add something
to the SDoc styles. But not today.
simonmar [Wed, 1 Nov 2000 11:57:29 +0000 (11:57 +0000)]
[project @ 2000-11-01 11:57:29 by simonmar]
Add the GLADE config for the front panel, tweak a few things.
simonmar [Wed, 1 Nov 2000 11:41:47 +0000 (11:41 +0000)]
[project @ 2000-11-01 11:41:47 by simonmar]
Add a basic "front panel" for GHC-compiled programs.
How to use it:
- re-autoconf & configure to detect GTK+
- add "GhcRtsWithFrontPanel = YES" to mk/build.mk
- rebuild the RTS
- compile up a program, add `gtk-config --libs` to the
link command line
- run with program with +RTS -f,
- sit back & watch the show :-) Programs with lots of
heap-resident data are the most interesting. For extra
kicks, turn up the number of generations & steps like so:
+RTS -f -G5 -T3.
- Bootstrap your compiler, and see in glorious technicolor
just how much of a lumbering beast GHC really is.
This is a work in progress. There's lots more stuff we could display
on the panel: suggestions/comments are of course welcome. The window
layout was designed with GLADE, I'll commit the config file shortly.
I haven't quite figured out how we're going to integrate this with the
release yet (ie. whether we'll distribute two separate RTS's or what).
simonmar [Tue, 31 Oct 2000 17:48:51 +0000 (17:48 +0000)]
[project @ 2000-10-31 17:48:51 by simonmar]
document <command>hs2c</command>
simonmar [Tue, 31 Oct 2000 17:48:31 +0000 (17:48 +0000)]
[project @ 2000-10-31 17:48:31 by simonmar]
docbook police
simonpj [Tue, 31 Oct 2000 17:30:18 +0000 (17:30 +0000)]
[project @ 2000-10-31 17:30:16 by simonpj]
PrelBase compiles!
sewardj [Tue, 31 Oct 2000 13:01:46 +0000 (13:01 +0000)]
[project @ 2000-10-31 13:01:46 by sewardj]
* Stop pipeline when recompilation not needed.
* Check OPTIONS pragmas for non-dynamic flags.
* Misc wibbles.
simonpj [Tue, 31 Oct 2000 12:07:44 +0000 (12:07 +0000)]
[project @ 2000-10-31 12:07:43 by simonpj]
Improve MkIface; get ready for NameEnv.lhs
simonmar [Tue, 31 Oct 2000 11:16:30 +0000 (11:16 +0000)]
[project @ 2000-10-31 11:16:30 by simonmar]
display unknown flags with a leading dash.
simonmar [Tue, 31 Oct 2000 11:16:12 +0000 (11:16 +0000)]
[project @ 2000-10-31 11:16:12 by simonmar]
remove extra leading dash from isStaticFlag predicate
simonmar [Tue, 31 Oct 2000 11:13:29 +0000 (11:13 +0000)]
[project @ 2000-10-31 11:13:29 by simonmar]
- fix the way flags, don't complain about non-static way flags
- reset the dyn flags before each compilation cycle
simonmar [Tue, 31 Oct 2000 10:52:04 +0000 (10:52 +0000)]
[project @ 2000-10-31 10:52:04 by simonmar]
GHC_INPLACE is in ghc/compiler now.
simonpj [Tue, 31 Oct 2000 10:04:41 +0000 (10:04 +0000)]
[project @ 2000-10-31 10:04:41 by simonpj]
Error in TcDeriv
simonpj [Tue, 31 Oct 2000 09:58:13 +0000 (09:58 +0000)]
[project @ 2000-10-31 09:58:13 by simonpj]
Make it work again!
simonpj [Tue, 31 Oct 2000 08:08:39 +0000 (08:08 +0000)]
[project @ 2000-10-31 08:08:38 by simonpj]
More tidying up; esp of isLocallyDefined
sewardj [Mon, 30 Oct 2000 18:13:16 +0000 (18:13 +0000)]
[project @ 2000-10-30 18:13:15 by sewardj]
Move readIface from RnM to IO, and commensurate changes. Also, add a
field to ModuleLocation to hold preprocessed source locations.
rrt [Mon, 30 Oct 2000 17:37:05 +0000 (17:37 +0000)]
[project @ 2000-10-30 17:37:05 by rrt]
cp and chmod during install switched over in case we're copying from a
read-only medium or something.
simonpj [Mon, 30 Oct 2000 17:18:28 +0000 (17:18 +0000)]
[project @ 2000-10-30 17:18:26 by simonpj]
Renamer tidying up
sewardj [Mon, 30 Oct 2000 13:46:24 +0000 (13:46 +0000)]
[project @ 2000-10-30 13:46:24 by sewardj]
Only pass a ModuleLocation into hscMain, not a ModSummary, so as to
facilitate Main.main not necessarily being in Main.hs.
sewardj [Mon, 30 Oct 2000 11:36:09 +0000 (11:36 +0000)]
[project @ 2000-10-30 11:36:09 by sewardj]
Don't be so promiscuous about hoovering up any and all files into the
home/package directory caches.
sewardj [Mon, 30 Oct 2000 11:18:14 +0000 (11:18 +0000)]
[project @ 2000-10-30 11:18:14 by sewardj]
Tmp hacks to allow source-unchangedness to work in one-shot compilation.
simonpj [Mon, 30 Oct 2000 11:01:58 +0000 (11:01 +0000)]
[project @ 2000-10-30 11:01:58 by simonpj]
wibble
simonpj [Mon, 30 Oct 2000 10:04:51 +0000 (10:04 +0000)]
[project @ 2000-10-30 10:04:51 by simonpj]
Fix Name
simonpj [Mon, 30 Oct 2000 09:52:16 +0000 (09:52 +0000)]
[project @ 2000-10-30 09:52:14 by simonpj]
First steps to making it work
simonpj [Fri, 27 Oct 2000 16:43:25 +0000 (16:43 +0000)]
[project @ 2000-10-27 16:43:24 by simonpj]
Wibble
simonmar [Fri, 27 Oct 2000 16:30:02 +0000 (16:30 +0000)]
[project @ 2000-10-27 16:30:02 by simonmar]
build as ghc-$(ProjectVersion), link to ghc (as per driver)
simonmar [Fri, 27 Oct 2000 16:25:01 +0000 (16:25 +0000)]
[project @ 2000-10-27 16:25:01 by simonmar]
don't need GHC_HSC_DIR and GHC_HSC any more.
simonmar [Fri, 27 Oct 2000 16:24:31 +0000 (16:24 +0000)]
[project @ 2000-10-27 16:24:31 by simonmar]
hsc ==> ghc
simonmar [Fri, 27 Oct 2000 16:24:08 +0000 (16:24 +0000)]
[project @ 2000-10-27 16:24:08 by simonmar]
remove interfaceFileVersion, this comes in through Config.hs now.
simonpj [Fri, 27 Oct 2000 15:40:01 +0000 (15:40 +0000)]
[project @ 2000-10-27 15:40:01 by simonpj]
Win32 hacks.
simonmar [Fri, 27 Oct 2000 15:34:30 +0000 (15:34 +0000)]
[project @ 2000-10-27 15:34:30 by simonmar]
fix location of .hi file for packages
sewardj [Fri, 27 Oct 2000 15:11:37 +0000 (15:11 +0000)]
[project @ 2000-10-27 15:11:37 by sewardj]
Fix various platform-dependent bogons.
sewardj [Fri, 27 Oct 2000 14:56:00 +0000 (14:56 +0000)]
[project @ 2000-10-27 14:56:00 by sewardj]
Avoid circularity between these two on Win32.
simonmar [Fri, 27 Oct 2000 14:55:01 +0000 (14:55 +0000)]
[project @ 2000-10-27 14:55:01 by simonmar]
don't fake the processID
simonmar [Fri, 27 Oct 2000 14:46:37 +0000 (14:46 +0000)]
[project @ 2000-10-27 14:46:37 by simonmar]
remove traces
simonmar [Fri, 27 Oct 2000 14:45:18 +0000 (14:45 +0000)]
[project @ 2000-10-27 14:45:18 by simonmar]
fix some obvious bogons
simonmar [Fri, 27 Oct 2000 14:40:40 +0000 (14:40 +0000)]
[project @ 2000-10-27 14:40:40 by simonmar]
create ghc-inplace
simonmar [Fri, 27 Oct 2000 14:36:36 +0000 (14:36 +0000)]
[project @ 2000-10-27 14:36:36 by simonmar]
wibbles
simonmar [Fri, 27 Oct 2000 14:36:16 +0000 (14:36 +0000)]
[project @ 2000-10-27 14:36:16 by simonmar]
s/allocMemory__/malloc
simonmar [Fri, 27 Oct 2000 14:31:55 +0000 (14:31 +0000)]
[project @ 2000-10-27 14:31:55 by simonmar]
fix imports
sewardj [Fri, 27 Oct 2000 14:22:34 +0000 (14:22 +0000)]
[project @ 2000-10-27 14:22:34 by sewardj]
Final mods to make it compile with 4.08.1. You don't get an interpreter
like that, tho.
simonmar [Fri, 27 Oct 2000 14:04:21 +0000 (14:04 +0000)]
[project @ 2000-10-27 14:04:21 by simonmar]
typo
sewardj [Fri, 27 Oct 2000 13:50:26 +0000 (13:50 +0000)]
[project @ 2000-10-27 13:50:25 by sewardj]
Half-way through versioning so it will compile, sans interpreter, with 4.08.1
simonmar [Fri, 27 Oct 2000 11:51:13 +0000 (11:51 +0000)]
[project @ 2000-10-27 11:51:13 by simonmar]
remove unneeded exports
sewardj [Fri, 27 Oct 2000 11:48:56 +0000 (11:48 +0000)]
[project @ 2000-10-27 11:48:54 by sewardj]
Track changes to the finder (now is a global variable and not passed
around). Also some fixes to flag handling.
simonmar [Fri, 27 Oct 2000 11:11:44 +0000 (11:11 +0000)]
[project @ 2000-10-27 11:11:44 by simonmar]
Don't pass the finder around any more. Instead, its state lives in
the I/O monad.
module Finder (
newFinder, -- :: PackageConfigInfo -> IO (),
findModule, -- :: ModuleName -> IO (Maybe (Module, ModuleLocation))
ModuleLocation(..),
mkHomeModuleLocn,
) where
sewardj [Fri, 27 Oct 2000 11:02:05 +0000 (11:02 +0000)]
[project @ 2000-10-27 11:02:05 by sewardj]
baseRegOffset: handle long-regs correctly.
simonmar [Fri, 27 Oct 2000 10:59:55 +0000 (10:59 +0000)]
[project @ 2000-10-27 10:59:55 by simonmar]
fill in the package cache on the first lookup too.
simonmar [Fri, 27 Oct 2000 10:52:05 +0000 (10:52 +0000)]
[project @ 2000-10-27 10:52:05 by simonmar]
Change the finder so that it doesn't fill in the home cache until it
is first used.
sewardj [Fri, 27 Oct 2000 09:39:35 +0000 (09:39 +0000)]
[project @ 2000-10-27 09:39:35 by sewardj]
Remove some redundant -fvia-Cs, wot offend mine eye.
sewardj [Fri, 27 Oct 2000 09:36:39 +0000 (09:36 +0000)]
[project @ 2000-10-27 09:36:39 by sewardj]
No longer needed. Bye bye Argv!
sewardj [Fri, 27 Oct 2000 09:17:20 +0000 (09:17 +0000)]
[project @ 2000-10-27 09:17:20 by sewardj]
Don't link happy-generated objects twice.
sewardj [Thu, 26 Oct 2000 16:51:44 +0000 (16:51 +0000)]
[project @ 2000-10-26 16:51:44 by sewardj]
Final changes to get it to compile.
sewardj [Thu, 26 Oct 2000 16:21:02 +0000 (16:21 +0000)]
[project @ 2000-10-26 16:21:02 by sewardj]
Compile everything up to Main. The Really Entertaining News (tm) is that
there are still modules beyond Main to fix up :-)
simonmar [Thu, 26 Oct 2000 14:38:42 +0000 (14:38 +0000)]
[project @ 2000-10-26 14:38:42 by simonmar]
Simon's stuff
sewardj [Thu, 26 Oct 2000 14:34:58 +0000 (14:34 +0000)]
[project @ 2000-10-26 14:34:57 by sewardj]
Make HscMain compile. Hurrah!
simonmar [Thu, 26 Oct 2000 10:27:32 +0000 (10:27 +0000)]
[project @ 2000-10-26 10:27:32 by simonmar]
Fix up
sewardj [Thu, 26 Oct 2000 10:23:37 +0000 (10:23 +0000)]
[project @ 2000-10-26 10:23:37 by sewardj]
So Simon can proceed with driver hacks.
simonpj [Thu, 26 Oct 2000 07:19:53 +0000 (07:19 +0000)]
[project @ 2000-10-26 07:19:52 by simonpj]
wibbles
sewardj [Wed, 25 Oct 2000 16:44:28 +0000 (16:44 +0000)]
[project @ 2000-10-25 16:44:28 by sewardj]
Wibbles from Julian
simonpj [Wed, 25 Oct 2000 15:57:33 +0000 (15:57 +0000)]
[project @ 2000-10-25 15:57:33 by simonpj]
writeIface stuff
sewardj [Wed, 25 Oct 2000 14:42:32 +0000 (14:42 +0000)]
[project @ 2000-10-25 14:42:31 by sewardj]
Compile up to HscMain. Again :)
simonpj [Wed, 25 Oct 2000 13:51:52 +0000 (13:51 +0000)]
[project @ 2000-10-25 13:51:50 by simonpj]
Wibbles
simonpj [Wed, 25 Oct 2000 12:56:23 +0000 (12:56 +0000)]
[project @ 2000-10-25 12:56:20 by simonpj]
Tons of stuff for the mornings work
sewardj [Wed, 25 Oct 2000 12:47:43 +0000 (12:47 +0000)]
[project @ 2000-10-25 12:47:43 by sewardj]
Sort out linking of interpreted code a bit.
sewardj [Wed, 25 Oct 2000 10:23:57 +0000 (10:23 +0000)]
[project @ 2000-10-25 10:23:57 by sewardj]
HscMain: more details on parsing and codegen, and handle parse/rename/tc
failure correctly.
simonpj [Wed, 25 Oct 2000 07:09:54 +0000 (07:09 +0000)]
[project @ 2000-10-25 07:09:52 by simonpj]
More renamer stuff; still in flight
simonpj [Tue, 24 Oct 2000 17:09:44 +0000 (17:09 +0000)]
[project @ 2000-10-24 17:09:44 by simonpj]
Stuff to do with Rules; may not compile
sewardj [Tue, 24 Oct 2000 16:33:02 +0000 (16:33 +0000)]
[project @ 2000-10-24 16:33:02 by sewardj]
More bitz n pieces.
simonmar [Tue, 24 Oct 2000 16:08:16 +0000 (16:08 +0000)]
[project @ 2000-10-24 16:08:16 by simonmar]
StgToDo done
simonmar [Tue, 24 Oct 2000 15:58:02 +0000 (15:58 +0000)]
[project @ 2000-10-24 15:58:02 by simonmar]
Compiles up to DriverFlags
simonpj [Tue, 24 Oct 2000 15:55:36 +0000 (15:55 +0000)]
[project @ 2000-10-24 15:55:35 by simonpj]
More renamer
sewardj [Tue, 24 Oct 2000 15:40:19 +0000 (15:40 +0000)]
[project @ 2000-10-24 15:40:19 by sewardj]
First shot at revised hscMain.
sewardj [Tue, 24 Oct 2000 13:23:33 +0000 (13:23 +0000)]
[project @ 2000-10-24 13:23:33 by sewardj]
Compile everything needed by main/HscMain.
sewardj [Tue, 24 Oct 2000 12:36:04 +0000 (12:36 +0000)]
[project @ 2000-10-24 12:36:03 by sewardj]
Changes to make CodeOutput compile.
simonpj [Tue, 24 Oct 2000 10:36:09 +0000 (10:36 +0000)]
[project @ 2000-10-24 10:36:08 by simonpj]
Wibbles
sewardj [Tue, 24 Oct 2000 10:12:17 +0000 (10:12 +0000)]
[project @ 2000-10-24 10:12:16 by sewardj]
Make the back-end world compile.
simonpj [Tue, 24 Oct 2000 09:44:18 +0000 (09:44 +0000)]
[project @ 2000-10-24 09:44:18 by simonpj]
More renamer; move stuff into (new) RnHiFiles.lhs
simonpj [Tue, 24 Oct 2000 08:40:11 +0000 (08:40 +0000)]
[project @ 2000-10-24 08:40:09 by simonpj]
Small wibbles
simonpj [Tue, 24 Oct 2000 07:35:35 +0000 (07:35 +0000)]
[project @ 2000-10-24 07:35:35 by simonpj]
Remove HsPragmas; hasnt been used for ages
simonpj [Tue, 24 Oct 2000 07:35:03 +0000 (07:35 +0000)]
[project @ 2000-10-24 07:35:00 by simonpj]
Mainly MkIface
simonpj [Mon, 23 Oct 2000 16:43:42 +0000 (16:43 +0000)]
[project @ 2000-10-23 16:43:42 by simonpj]
A tiny bit more
simonpj [Mon, 23 Oct 2000 16:39:12 +0000 (16:39 +0000)]
[project @ 2000-10-23 16:39:11 by simonpj]
More renamer stuff
sewardj [Mon, 23 Oct 2000 12:55:31 +0000 (12:55 +0000)]
[project @ 2000-10-23 12:55:31 by sewardj]
Plumb a function :: Name -> Maybe Fixity into the depths of the deriver
for deriving Show and Read. This information is in the ModIFaces, not
the ModDetails, and we don't want to send complete ModIFaces into the
typechecker.
simonpj [Mon, 23 Oct 2000 12:26:39 +0000 (12:26 +0000)]
[project @ 2000-10-23 12:26:39 by simonpj]
Put early-exit code in Rename.lhs
sewardj [Mon, 23 Oct 2000 12:00:22 +0000 (12:00 +0000)]
[project @ 2000-10-23 12:00:21 by sewardj]
Track renaming of typecheck/TcInstUtil to types/InstEnv.
sewardj [Mon, 23 Oct 2000 11:56:20 +0000 (11:56 +0000)]
[project @ 2000-10-23 11:56:20 by sewardj]
****** renamed from typecheck/TcInstUtil.lhs to types/InstEnv.lhs ******
sewardj [Mon, 23 Oct 2000 11:50:42 +0000 (11:50 +0000)]
[project @ 2000-10-23 11:50:40 by sewardj]
Small cleanups.