ghc-hetmet.git
22 years ago[project @ 2001-07-10 11:22:15 by rrt]
rrt [Tue, 10 Jul 2001 11:22:15 +0000 (11:22 +0000)]
[project @ 2001-07-10 11:22:15 by rrt]
ie -> i.e.

22 years ago[project @ 2001-07-10 11:21:05 by rrt]
rrt [Tue, 10 Jul 2001 11:21:05 +0000 (11:21 +0000)]
[project @ 2001-07-10 11:21:05 by rrt]
Fix jade detection on Windows for jades that don't understand Unix paths

22 years ago[project @ 2001-07-09 19:45:16 by sof]
sof [Mon, 9 Jul 2001 19:45:16 +0000 (19:45 +0000)]
[project @ 2001-07-09 19:45:16 by sof]
Hmm..are the Cambridge offices running low on oxygen? Desloppified to make stage2 work again

22 years ago[project @ 2001-07-09 19:09:39 by sof]
sof [Mon, 9 Jul 2001 19:09:39 +0000 (19:09 +0000)]
[project @ 2001-07-09 19:09:39 by sof]
Undo prev. commit, it was just plain wrong

22 years ago[project @ 2001-07-09 17:44:08 by sof]
sof [Mon, 9 Jul 2001 17:44:08 +0000 (17:44 +0000)]
[project @ 2001-07-09 17:44:08 by sof]
-- 'hybrid' support for DOS-style paths in directory lists.
--
-- That is, if "foo:bar:baz" is used, this interpreted as
-- consisting of three entries, 'foo', 'bar', 'baz'.
-- However, with "c:/foo:c:\\foo;x:/bar", this is interpreted
-- as four elts, "c:/foo", "c:\\foo", "x", and "/bar" --
-- *provided* c:/foo exists and x:/bar doesn't.
--
-- Notice that no attempt is made to fully replace the 'standard'
-- split marker ':' with the Windows / DOS one, ';'. The reason being
-- that this will cause too much breakage for users & ':' will
-- work fine even with DOS paths, if you're not insisting on being silly.
-- So, use either.

22 years ago[project @ 2001-07-09 16:30:50 by sof]
sof [Mon, 9 Jul 2001 16:30:50 +0000 (16:30 +0000)]
[project @ 2001-07-09 16:30:50 by sof]
get rid off gcc warning

22 years ago[project @ 2001-07-09 13:21:09 by sewardj]
sewardj [Mon, 9 Jul 2001 13:21:09 +0000 (13:21 +0000)]
[project @ 2001-07-09 13:21:09 by sewardj]
Zap another ghc_411_at_least.

22 years ago[project @ 2001-07-09 10:46:46 by simonmar]
simonmar [Mon, 9 Jul 2001 10:46:46 +0000 (10:46 +0000)]
[project @ 2001-07-09 10:46:46 by simonmar]
Change the test for whether to include GHCi support in the compiler to
be closer to "are we bootstrapping with the same compiler".

22 years ago[project @ 2001-07-09 08:24:08 by simonmar]
simonmar [Mon, 9 Jul 2001 08:24:08 +0000 (08:24 +0000)]
[project @ 2001-07-09 08:24:08 by simonmar]
oops: I changed the names of some of the GC stubs, and didn't realise they
were mentioned here too.

22 years ago[project @ 2001-07-08 17:04:04 by sof]
sof [Sun, 8 Jul 2001 17:04:04 +0000 (17:04 +0000)]
[project @ 2001-07-08 17:04:04 by sof]
getTimes: fix Win95 fallback

22 years ago[project @ 2001-07-06 15:39:47 by rrt]
rrt [Fri, 6 Jul 2001 15:39:47 +0000 (15:39 +0000)]
[project @ 2001-07-06 15:39:47 by rrt]
Fix path for Windows jade

22 years ago[project @ 2001-07-06 14:18:53 by simonmar]
simonmar [Fri, 6 Jul 2001 14:18:53 +0000 (14:18 +0000)]
[project @ 2001-07-06 14:18:53 by simonmar]
Add test for broken takeMVar/putMVar in 5.00.2.

Bug reported by Greg Mildenhall <gregm@pc-121.cs.uwa.edu.au> on
comp.lang.functional..

22 years ago[project @ 2001-07-06 14:15:50 by rrt]
rrt [Fri, 6 Jul 2001 14:15:50 +0000 (14:15 +0000)]
[project @ 2001-07-06 14:15:50 by rrt]
lib/gcc-lib -> gcc-lib

22 years ago[project @ 2001-07-06 14:11:38 by simonmar]
simonmar [Fri, 6 Jul 2001 14:11:38 +0000 (14:11 +0000)]
[project @ 2001-07-06 14:11:38 by simonmar]
Fix a couple of nasty bugs in the take/putMVar implementation.

Now we keep the invariant that a full MVar only has blocked putMVars
on its queue, and an empty MVar only has blocked takeMVars on its
queue.  It was the absence of this invariant that led to accidental
deadlock before.

The second bug is that there was a window between a blocked thread
being restarted and it actually retrying the takeMVar/putMVar
operation when it could receive an exception, which would also lead to
deadlock.

The solution to both these problems (as suggested by Simon P.J.) is to
atomically wake up and perform the next blocked putMVar when we do a
take, and vice versa.  As a side effect, takeMVar & putMVar should be
much faster when blocking & restarting, because we now shortcut the
retrying of the blocked operation and we use a more specialised stack
layout for the blocked thread.  Unfortunately, things got more
complicated too, but there are comments explaining what's going on.

22 years ago[project @ 2001-07-06 14:05:14 by apt]
apt [Fri, 6 Jul 2001 14:05:14 +0000 (14:05 +0000)]
[project @ 2001-07-06 14:05:14 by apt]
fix eqType bug

22 years ago[project @ 2001-07-06 10:53:04 by rrt]
rrt [Fri, 6 Jul 2001 10:53:04 +0000 (10:53 +0000)]
[project @ 2001-07-06 10:53:04 by rrt]
New version for GHC 5

22 years ago[project @ 2001-07-05 13:52:40 by rrt]
rrt [Thu, 5 Jul 2001 13:52:40 +0000 (13:52 +0000)]
[project @ 2001-07-05 13:52:40 by rrt]
Final stage of the PACKAGE oopsathon, or else...

22 years ago[project @ 2001-07-05 13:31:09 by sewardj]
sewardj [Thu, 5 Jul 2001 13:31:10 +0000 (13:31 +0000)]
[project @ 2001-07-05 13:31:09 by sewardj]
Changes to nuke RAWCPP.

22 years ago[project @ 2001-07-05 13:01:14 by rrt]
rrt [Thu, 5 Jul 2001 13:01:16 +0000 (13:01 +0000)]
[project @ 2001-07-05 13:01:14 by rrt]
Change HSLIB to PACKAGE and HSLIB_DEPS to PACKAGE_DEPS, which makes more
sense. Also unbreaks the build system, in an arse-about-face sort of way
(or, if you prefer, cart-before-horse).

22 years ago[project @ 2001-07-05 08:55:29 by simonpj]
simonpj [Thu, 5 Jul 2001 08:55:29 +0000 (08:55 +0000)]
[project @ 2001-07-05 08:55:29 by simonpj]
Correct spelling in error message

22 years ago[project @ 2001-07-04 16:55:48 by rrt]
rrt [Wed, 4 Jul 2001 16:55:48 +0000 (16:55 +0000)]
[project @ 2001-07-04 16:55:48 by rrt]
Only use -package-name when in a package

22 years ago[project @ 2001-07-04 16:29:35 by rrt]
rrt [Wed, 4 Jul 2001 16:29:36 +0000 (16:29 +0000)]
[project @ 2001-07-04 16:29:35 by rrt]
Move -package-name and -package flag setting up a level

22 years ago[project @ 2001-07-04 15:52:24 by simonpj]
simonpj [Wed, 4 Jul 2001 15:52:24 +0000 (15:52 +0000)]
[project @ 2001-07-04 15:52:24 by simonpj]
Add notes

22 years ago[project @ 2001-07-04 15:51:23 by simonpj]
simonpj [Wed, 4 Jul 2001 15:51:23 +0000 (15:51 +0000)]
[project @ 2001-07-04 15:51:23 by simonpj]
Add comments; and copy system.c on demand rather than via make boot

22 years ago[project @ 2001-07-04 15:43:38 by simonmar]
simonmar [Wed, 4 Jul 2001 15:43:38 +0000 (15:43 +0000)]
[project @ 2001-07-04 15:43:38 by simonmar]
Only print out the GHCi banner when verbosity >= 1, so you can omit
the banner with -v0 (useful for tests where you don't want the GHC
version number appearing in the output).

22 years ago[project @ 2001-07-04 11:46:37 by sewardj]
sewardj [Wed, 4 Jul 2001 11:46:37 +0000 (11:46 +0000)]
[project @ 2001-07-04 11:46:37 by sewardj]
Scummy hacks to make GMP configure ok for mingw.
-- Copy files instead of symlinking them.
-- Allow correct detection of the ld used with gcc, so that
   that ar rather than the Windows LIB program is used.

22 years ago[project @ 2001-07-04 11:06:02 by simonmar]
simonmar [Wed, 4 Jul 2001 11:06:02 +0000 (11:06 +0000)]
[project @ 2001-07-04 11:06:02 by simonmar]
Allow .hi-boot files to be demand-loaded even in
interactive/make mode, and fix a wibble.

22 years ago[project @ 2001-07-04 10:58:37 by rrt]
rrt [Wed, 4 Jul 2001 10:58:37 +0000 (10:58 +0000)]
[project @ 2001-07-04 10:58:37 by rrt]
gcc-2.95.3-4 for mingw accepts -mwin32, so allow it

22 years ago[project @ 2001-07-04 09:18:38 by sewardj]
sewardj [Wed, 4 Jul 2001 09:18:38 +0000 (09:18 +0000)]
[project @ 2001-07-04 09:18:38 by sewardj]
Un-break on Unix.

22 years ago[project @ 2001-07-03 17:07:52 by rrt]
rrt [Tue, 3 Jul 2001 17:07:52 +0000 (17:07 +0000)]
[project @ 2001-07-03 17:07:52 by rrt]
Kill --enable-minimal-unix-deps (now == mingw32) and emit an error if a
Cygwin compiler is detected.

22 years ago[project @ 2001-07-03 16:57:03 by sewardj]
sewardj [Tue, 3 Jul 2001 16:57:03 +0000 (16:57 +0000)]
[project @ 2001-07-03 16:57:03 by sewardj]
Plumb top-level --with-gcc=... value around the place.

22 years ago[project @ 2001-07-03 16:52:45 by rrt]
rrt [Tue, 3 Jul 2001 16:52:45 +0000 (16:52 +0000)]
[project @ 2001-07-03 16:52:45 by rrt]
Allow child process to inherit parent's handles.

22 years ago[project @ 2001-07-03 16:46:21 by rrt]
rrt [Tue, 3 Jul 2001 16:46:21 +0000 (16:46 +0000)]
[project @ 2001-07-03 16:46:21 by rrt]
Get rid of MinimalUnixDeps (now == mingwin)

22 years ago[project @ 2001-07-03 16:45:15 by rrt]
rrt [Tue, 3 Jul 2001 16:45:15 +0000 (16:45 +0000)]
[project @ 2001-07-03 16:45:15 by rrt]
Quote -D args on Unix

22 years ago[project @ 2001-07-03 16:26:03 by rrt]
rrt [Tue, 3 Jul 2001 16:26:03 +0000 (16:26 +0000)]
[project @ 2001-07-03 16:26:03 by rrt]
Clarify and refine, for a smoother texture

22 years ago[project @ 2001-07-03 14:53:35 by simonpj]
simonpj [Tue, 3 Jul 2001 14:53:35 +0000 (14:53 +0000)]
[project @ 2001-07-03 14:53:35 by simonpj]
Dump package info only for -v3

22 years ago[project @ 2001-07-03 11:14:33 by simonmar]
simonmar [Tue, 3 Jul 2001 11:14:33 +0000 (11:14 +0000)]
[project @ 2001-07-03 11:14:33 by simonmar]
Better exit with a failure code in ghc --make if something went wrong...

22 years ago[project @ 2001-07-02 18:05:10 by rrt]
rrt [Mon, 2 Jul 2001 18:05:10 +0000 (18:05 +0000)]
[project @ 2001-07-02 18:05:10 by rrt]
Print out the long long GC_tot_alloc separately to avoid printf bogons
on mingwin.

22 years ago[project @ 2001-07-02 13:52:10 by rrt]
rrt [Mon, 2 Jul 2001 13:52:10 +0000 (13:52 +0000)]
[project @ 2001-07-02 13:52:10 by rrt]
Fix up properly not to use _WIN32.

22 years ago[project @ 2001-07-02 13:08:49 by rrt]
rrt [Mon, 2 Jul 2001 13:08:49 +0000 (13:08 +0000)]
[project @ 2001-07-02 13:08:49 by rrt]
Don't use _WIN32; use mingw32_TARGET_OS and cygwin32_TARGET_OS
instead.

22 years ago[project @ 2001-07-02 13:02:29 by rrt]
rrt [Mon, 2 Jul 2001 13:02:29 +0000 (13:02 +0000)]
[project @ 2001-07-02 13:02:29 by rrt]
Don't use _WIN32, use mingw32_TARGET_OS and cygwin32_TARGET_OS.

22 years ago[project @ 2001-07-02 12:00:44 by simonmar]
simonmar [Mon, 2 Jul 2001 12:00:44 +0000 (12:00 +0000)]
[project @ 2001-07-02 12:00:44 by simonmar]
oops, cut-n-paste removed tabs

22 years ago[project @ 2001-07-02 10:08:52 by simonmar]
simonmar [Mon, 2 Jul 2001 10:08:52 +0000 (10:08 +0000)]
[project @ 2001-07-02 10:08:52 by simonmar]
The hc-file bundle should contain the .hs files generated from .hsc
files because of a chicken-egg problem with building hsc2hs.

22 years ago[project @ 2001-06-30 22:57:20 by qrczak]
qrczak [Sat, 30 Jun 2001 22:57:20 +0000 (22:57 +0000)]
[project @ 2001-06-30 22:57:20 by qrczak]
Don't add leading space to libdir (was harmful for drivers).

Don't add $(ProjectNameShort)-$(ProjectVersion) to libdir if
$(ProjectNameShort) is empty; I hope it's correct.

22 years ago[project @ 2001-06-30 11:21:12 by simonmar]
simonmar [Sat, 30 Jun 2001 11:21:12 +0000 (11:21 +0000)]
[project @ 2001-06-30 11:21:12 by simonmar]
sigh, the split script broke due to changes in gcc on FreeBSD (again).

22 years ago[project @ 2001-06-30 00:12:52 by sof]
sof [Sat, 30 Jun 2001 00:12:52 +0000 (00:12 +0000)]
[project @ 2001-06-30 00:12:52 by sof]
FPTOOLS_CC_FLAG: Save and restore CFLAGS

22 years ago[project @ 2001-06-30 00:00:49 by sof]
sof [Sat, 30 Jun 2001 00:00:49 +0000 (00:00 +0000)]
[project @ 2001-06-30 00:00:49 by sof]
Tidy up the handling of -mno-cygwin.

22 years ago[project @ 2001-06-29 16:58:06 by sewardj]
sewardj [Fri, 29 Jun 2001 16:58:06 +0000 (16:58 +0000)]
[project @ 2001-06-29 16:58:06 by sewardj]
Test for mingw32_TARGET_OS and cygwin32_TARGET_OS instead of WIN32.

22 years ago[project @ 2001-06-29 16:17:28 by sewardj]
sewardj [Fri, 29 Jun 2001 16:17:28 +0000 (16:17 +0000)]
[project @ 2001-06-29 16:17:28 by sewardj]
Let the PEi386 machinery recognise .rodata sections.

22 years ago[project @ 2001-06-29 15:37:52 by simonmar]
simonmar [Fri, 29 Jun 2001 15:37:52 +0000 (15:37 +0000)]
[project @ 2001-06-29 15:37:52 by simonmar]
The "Warning: deleting non-existent foo" message should only be
printed in verbose mode.

22 years ago[project @ 2001-06-29 15:30:49 by simonmar]
simonmar [Fri, 29 Jun 2001 15:30:49 +0000 (15:30 +0000)]
[project @ 2001-06-29 15:30:49 by simonmar]
reformat & add a comment

22 years ago[project @ 2001-06-29 15:30:14 by simonmar]
simonmar [Fri, 29 Jun 2001 15:30:14 +0000 (15:30 +0000)]
[project @ 2001-06-29 15:30:14 by simonmar]
Copy was ignoring its 'purpose' argument

22 years ago[project @ 2001-06-29 15:10:14 by simonmar]
simonmar [Fri, 29 Jun 2001 15:10:14 +0000 (15:10 +0000)]
[project @ 2001-06-29 15:10:14 by simonmar]
Change a '>' to '>=' when comparing the modification times of object &
source files, to match make's behaviour and eliminate some unnecessary
recompiles.

This introduces some potential unsafety, but it was felt that the
benefits in terms of unsurprising behaviour were worth it.

22 years ago[project @ 2001-06-29 14:47:58 by sewardj]
sewardj [Fri, 29 Jun 2001 14:47:58 +0000 (14:47 +0000)]
[project @ 2001-06-29 14:47:58 by sewardj]
Fix up package util.

22 years ago[project @ 2001-06-29 14:47:20 by sewardj]
sewardj [Fri, 29 Jun 2001 14:47:20 +0000 (14:47 +0000)]
[project @ 2001-06-29 14:47:20 by sewardj]
package util: don't include readline on Win32

22 years ago[project @ 2001-06-29 13:57:08 by sewardj]
sewardj [Fri, 29 Jun 2001 13:57:08 +0000 (13:57 +0000)]
[project @ 2001-06-29 13:57:08 by sewardj]
Remove spurious "return ()" from WIN32 hSetBinaryMode.  Why this didn't
cause a syntax error before now completely escapes me.

22 years ago[project @ 2001-06-29 13:53:55 by simonmar]
simonmar [Fri, 29 Jun 2001 13:53:55 +0000 (13:53 +0000)]
[project @ 2001-06-29 13:53:55 by simonmar]
Uncomment part of this test that works properly now.

22 years ago[project @ 2001-06-29 13:42:19 by simonmar]
simonmar [Fri, 29 Jun 2001 13:42:19 +0000 (13:42 +0000)]
[project @ 2001-06-29 13:42:19 by simonmar]
Test that openFile in WriteMode doesn't truncate the file if an error
occurs.

22 years ago[project @ 2001-06-29 13:41:43 by simonmar]
simonmar [Fri, 29 Jun 2001 13:41:43 +0000 (13:41 +0000)]
[project @ 2001-06-29 13:41:43 by simonmar]
Fix bug where openFile in WriteMode truncates the file even if the
open fails because of a locking violation.

22 years ago[project @ 2001-06-29 13:40:50 by simonmar]
simonmar [Fri, 29 Jun 2001 13:40:50 +0000 (13:40 +0000)]
[project @ 2001-06-29 13:40:50 by simonmar]
Test that readFile doesn't leave the file locked after its output has
been forced completely.

22 years ago[project @ 2001-06-29 13:18:18 by sewardj]
sewardj [Fri, 29 Jun 2001 13:18:18 +0000 (13:18 +0000)]
[project @ 2001-06-29 13:18:18 by sewardj]
Test for __MINGW32__, not __MINGW__.

22 years ago[project @ 2001-06-29 12:58:20 by rrt]
rrt [Fri, 29 Jun 2001 12:58:20 +0000 (12:58 +0000)]
[project @ 2001-06-29 12:58:20 by rrt]
Change the way that IO exceptions are handled and some associated details:

1. In the top-level exception handler, don't treat IO exceptions as a panic,
just print them out and stop.

2. In the slurping routines SysTools.copy and the fake cpp in
DriverPipeline, don't catch IO exceptions, just let them propagate.

22 years ago[project @ 2001-06-29 12:45:39 by simonmar]
simonmar [Fri, 29 Jun 2001 12:45:39 +0000 (12:45 +0000)]
[project @ 2001-06-29 12:45:39 by simonmar]
Fix a bug in hGetContents, namely that it wasn't closing the handle
when the end of file was reached.  Also tried to tidy the code up a
bit while I was here.

22 years ago[project @ 2001-06-29 11:40:48 by simonpj]
simonpj [Fri, 29 Jun 2001 11:40:48 +0000 (11:40 +0000)]
[project @ 2001-06-29 11:40:48 by simonpj]
Share handles with creator so that error messages come out

22 years ago[project @ 2001-06-29 11:35:14 by simonpj]
simonpj [Fri, 29 Jun 2001 11:35:14 +0000 (11:35 +0000)]
[project @ 2001-06-29 11:35:14 by simonpj]
Add comments

22 years ago[project @ 2001-06-29 10:35:09 by rrt]
rrt [Fri, 29 Jun 2001 10:35:09 +0000 (10:35 +0000)]
[project @ 2001-06-29 10:35:09 by rrt]
Stop copy adding a newline to the end of the copy

22 years ago[project @ 2001-06-28 18:05:48 by rrt]
rrt [Thu, 28 Jun 2001 18:05:48 +0000 (18:05 +0000)]
[project @ 2001-06-28 18:05:48 by rrt]
Split up win32 tests so CPP is only updated after cpp is found

22 years ago[project @ 2001-06-28 17:56:10 by rrt]
rrt [Thu, 28 Jun 2001 17:56:10 +0000 (17:56 +0000)]
[project @ 2001-06-28 17:56:10 by rrt]
Set C and CPP flags before finding gcc

22 years ago[project @ 2001-06-28 16:44:18 by rrt]
rrt [Thu, 28 Jun 2001 16:44:18 +0000 (16:44 +0000)]
[project @ 2001-06-28 16:44:18 by rrt]
Fix getCPUTime on Windows

22 years ago[project @ 2001-06-28 16:44:07 by rrt]
rrt [Thu, 28 Jun 2001 16:44:07 +0000 (16:44 +0000)]
[project @ 2001-06-28 16:44:07 by rrt]
Improve comment

22 years ago[project @ 2001-06-28 15:45:49 by rrt]
rrt [Thu, 28 Jun 2001 15:45:49 +0000 (15:45 +0000)]
[project @ 2001-06-28 15:45:49 by rrt]
Remove debugging statements^Wexpressions

22 years ago[project @ 2001-06-28 15:11:07 by simonpj]
simonpj [Thu, 28 Jun 2001 15:11:07 +0000 (15:11 +0000)]
[project @ 2001-06-28 15:11:07 by simonpj]
Fix a missing case in kcHsType.

[Could be merged into 5.00.3, but we probably
 aren't going to have such a thind.]

22 years ago[project @ 2001-06-28 15:06:47 by lewie]
lewie [Thu, 28 Jun 2001 15:06:47 +0000 (15:06 +0000)]
[project @ 2001-06-28 15:06:47 by lewie]
Here ya go!

22 years ago[project @ 2001-06-28 14:51:57 by rrt]
rrt [Thu, 28 Jun 2001 14:51:57 +0000 (14:51 +0000)]
[project @ 2001-06-28 14:51:57 by rrt]
Fix mangling of -B path.

22 years ago[project @ 2001-06-28 14:41:19 by simonmar]
simonmar [Thu, 28 Jun 2001 14:41:19 +0000 (14:41 +0000)]
[project @ 2001-06-28 14:41:19 by simonmar]
fix the ghc-inplace script w.r.t. the latest changes to SysTools.hs

22 years ago[project @ 2001-06-28 14:26:58 by sewardj]
sewardj [Thu, 28 Jun 2001 14:26:58 +0000 (14:26 +0000)]
[project @ 2001-06-28 14:26:58 by sewardj]
Add enough syms to get packages  lang text concurrent  into GHCi.

22 years ago[project @ 2001-06-28 14:15:01 by simonmar]
simonmar [Thu, 28 Jun 2001 14:15:04 +0000 (14:15 +0000)]
[project @ 2001-06-28 14:15:01 by simonmar]
First cut of the Haskell Core Libraries
=======================================

NOTE: it's not meant to be a working snapshot.  The code is just here
to look at and so the NHC/Hugs guys can start playing around with it.

There is no build system.  For GHC, the libraries tree is intended to
be grafted onto an existing fptools/ tree, and the Makefile in
libraries/core is a quick hack for that setup.  This won't work at the
moment without the other changes needed in fptools/ghc, which I
haven't committed because they'll cause breakage.  However, with the
changes required these sources build a working Prelude and libraries.

The layout mostly follows the one we agreed on, with one or two minor
changes; in particular the Data/Array layout probably isn't final
(there are several choices here).

The document is in libraries/core/doc as promised.

The cbits stuff is just a copy of ghc/lib/std/cbits and has
GHC-specific stuff in it.  We should really separate the
compiler-specific C support from any compiler-independent C support
there might be.

Don't pay too much attention to the portability or stability status
indicated in the header of each source file at the moment - I haven't
gone through to make sure they're all consistent and make sense.

I'm using non-literate source outside of GHC/.  Hope that's ok with
everyone.

We need to discuss how the build system is going to work...

22 years ago[project @ 2001-06-28 13:48:32 by rrt]
rrt [Thu, 28 Jun 2001 13:48:32 +0000 (13:48 +0000)]
[project @ 2001-06-28 13:48:32 by rrt]
Fix Unix copy (now same as Windows: slow, but working).

22 years ago[project @ 2001-06-28 11:51:52 by simonmar]
simonmar [Thu, 28 Jun 2001 11:51:52 +0000 (11:51 +0000)]
[project @ 2001-06-28 11:51:52 by simonmar]
clean up remove_suffix:

  - only use it when getExecDir works (i.e. on Windows)
  - therefore, don't require that the build-tree TOPDIR has a
    /ghc/compiler suffix.
  - fix a bug with the installed build, where the binary lives
    in $libdir/bin not $libdir.

ghci-inplace should work again now.

22 years ago[project @ 2001-06-28 11:47:03 by simonmar]
simonmar [Thu, 28 Jun 2001 11:47:03 +0000 (11:47 +0000)]
[project @ 2001-06-28 11:47:03 by simonmar]
revert a change from SOF that looks like it sneaked in accidentally
(and broke happy configuration).

22 years ago[project @ 2001-06-28 11:34:42 by simonmar]
simonmar [Thu, 28 Jun 2001 11:34:42 +0000 (11:34 +0000)]
[project @ 2001-06-28 11:34:42 by simonmar]
ghci may take multiple modules on the command line.

22 years ago[project @ 2001-06-28 11:33:24 by simonmar]
simonmar [Thu, 28 Jun 2001 11:33:24 +0000 (11:33 +0000)]
[project @ 2001-06-28 11:33:24 by simonmar]
document :add and multiple arguments to :load

22 years ago[project @ 2001-06-28 11:29:26 by simonmar]
simonmar [Thu, 28 Jun 2001 11:29:26 +0000 (11:29 +0000)]
[project @ 2001-06-28 11:29:26 by simonmar]
:add and :load take multiple arguments.

22 years ago[project @ 2001-06-28 10:39:54 by rrt]
rrt [Thu, 28 Jun 2001 10:39:54 +0000 (10:39 +0000)]
[project @ 2001-06-28 10:39:54 by rrt]
Reimplement copy as a slurp in Haskell to avoid problems with pesky
Windows command-line tools. Grr.

22 years ago[project @ 2001-06-28 10:25:30 by sewardj]
sewardj [Thu, 28 Jun 2001 10:25:30 +0000 (10:25 +0000)]
[project @ 2001-06-28 10:25:30 by sewardj]
Add comment referring to horrible hack to do with HSstd splitting/merging.

22 years ago[project @ 2001-06-28 10:19:48 by sewardj]
sewardj [Thu, 28 Jun 2001 10:19:48 +0000 (10:19 +0000)]
[project @ 2001-06-28 10:19:48 by sewardj]
For Win32 only: institute a totally horrible, temporary hack
in getPackageLibraries, which merges HSstd1 and HSstd2 back into
HSstd.  TEMPORARY!

22 years ago[project @ 2001-06-28 09:57:32 by simonmar]
simonmar [Thu, 28 Jun 2001 09:57:33 +0000 (09:57 +0000)]
[project @ 2001-06-28 09:57:32 by simonmar]
include version.mk before boilerplate.mk, so that boilerplate.mk has
the project name and version available.

Override libdir and datadir in fptools/mk/config.mk to add the project
name and version.

Suggested by: Manuel

22 years ago[project @ 2001-06-28 09:49:40 by simonmar]
simonmar [Thu, 28 Jun 2001 09:49:40 +0000 (09:49 +0000)]
[project @ 2001-06-28 09:49:40 by simonmar]

22 years ago[project @ 2001-06-28 08:36:30 by simonpj]
simonpj [Thu, 28 Jun 2001 08:36:30 +0000 (08:36 +0000)]
[project @ 2001-06-28 08:36:30 by simonpj]
Comment and import wibbles

22 years ago[project @ 2001-06-27 19:42:19 by reid]
reid [Wed, 27 Jun 2001 19:42:19 +0000 (19:42 +0000)]
[project @ 2001-06-27 19:42:19 by reid]
Inching closer to making the HGL part of the standard build.

This commit is mostly to remove bits of xlib and greencard whch had
crept into the source tree.

ToDo:

- make greencard part of standard build (waiting for response from
  simonM)
- make greencard install libHSgreencard when it builds
- find a autoconf-respecting way of installing the package
- only build xlib and HGL if you have X11 installed
- merge all these changes into HEAD
- should the demos/ tests be built as part of the standard build?
  what's the convention here?
  (Note that the tests can't be used in batch more - you gotta click
  on the window.)
- a little debugging - the tests aren't quite working.

22 years ago[project @ 2001-06-27 17:00:44 by simonmar]
simonmar [Wed, 27 Jun 2001 17:00:44 +0000 (17:00 +0000)]
[project @ 2001-06-27 17:00:44 by simonmar]
Clean up the hierarchical-module-name lexical analysis and fix a
couple of bugs at the same time.

22 years ago[project @ 2001-06-27 16:38:17 by simonmar]
simonmar [Wed, 27 Jun 2001 16:38:17 +0000 (16:38 +0000)]
[project @ 2001-06-27 16:38:17 by simonmar]
When we're in --interactive or --make mode, we don't even *look* for
interface files in the home package.

This means that cd'ing into fptools/ghc/lib/std and starting up GHCi
Just Works, which is a good thing.  It also subsumes the previous hack
about checking whether we're renaming a command-line expression before
allowing a home interface to be loaded.

The downside is that if you try to use a qualified name for a home
module that's not loaded, you'll get a slightly less informative error
message: "interface file not found" rather than "module not loaded",
but this could be improved.

22 years ago[project @ 2001-06-27 16:34:55 by simonmar]
simonmar [Wed, 27 Jun 2001 16:34:55 +0000 (16:34 +0000)]
[project @ 2001-06-27 16:34:55 by simonmar]
Allow a module to be found on the package path only, by adding

  findPackageModule :: ModuleName -> IO (Maybe (Module,ModuleLocation))

22 years ago[project @ 2001-06-27 16:33:59 by simonmar]
simonmar [Wed, 27 Jun 2001 16:33:59 +0000 (16:33 +0000)]
[project @ 2001-06-27 16:33:59 by simonmar]
Print the contents of opt_InPackage rather than "<THIS>" for the home
package.

22 years ago[project @ 2001-06-27 16:33:10 by simonmar]
simonmar [Wed, 27 Jun 2001 16:33:10 +0000 (16:33 +0000)]
[project @ 2001-06-27 16:33:10 by simonmar]
PrelGHC is package 'std'

22 years ago[project @ 2001-06-27 15:26:56 by chak]
chak [Wed, 27 Jun 2001 15:26:56 +0000 (15:26 +0000)]
[project @ 2001-06-27 15:26:56 by chak]
And removed bin/ from $(GHCBIN) again *sigh*

[Yeah, I tested the previous commit before committing and it worked for me
due to a not-clean build tree.]

I don't think that it is a good idea to redefine execlibdir in
`ghc/mk/boilerplate.mk'.  Makes already complicated scripts even harder to
understand...

22 years ago[project @ 2001-06-27 15:03:35 by sewardj]
sewardj [Wed, 27 Jun 2001 15:03:35 +0000 (15:03 +0000)]
[project @ 2001-06-27 15:03:35 by sewardj]
wibble to do with findOnPackagePath

22 years ago[project @ 2001-06-27 14:26:36 by sewardj]
sewardj [Wed, 27 Jun 2001 14:26:36 +0000 (14:26 +0000)]
[project @ 2001-06-27 14:26:36 by sewardj]
mingw ghci linking wibble.

22 years ago[project @ 2001-06-27 13:56:01 by sewardj]
sewardj [Wed, 27 Jun 2001 13:56:01 +0000 (13:56 +0000)]
[project @ 2001-06-27 13:56:01 by sewardj]
Clean up Win32 linking a bit, by fishing symbols out of msvcrt.dll
as needed.  This reduces the size of but unfortunately does not
eliminate the RTS_MINGW_ONLY_SYMBOLS hack.

22 years ago[project @ 2001-06-27 13:42:32 by chak]
chak [Wed, 27 Jun 2001 13:42:32 +0000 (13:42 +0000)]
[project @ 2001-06-27 13:42:32 by chak]
Added bin/ to $(GHCBIN)