ghc-hetmet.git
22 years ago[project @ 2001-06-18 03:45:23 by chak]
chak [Mon, 18 Jun 2001 03:45:23 +0000 (03:45 +0000)]
[project @ 2001-06-18 03:45:23 by chak]
Adapted to changes in build system

22 years ago[project @ 2001-06-15 22:00:11 by sof]
sof [Fri, 15 Jun 2001 22:00:11 +0000 (22:00 +0000)]
[project @ 2001-06-15 22:00:11 by sof]
Make it compile

22 years ago[project @ 2001-06-15 15:55:05 by simonpj]
simonpj [Fri, 15 Jun 2001 15:55:05 +0000 (15:55 +0000)]
[project @ 2001-06-15 15:55:05 by simonpj]
More windows wibbles

22 years ago[project @ 2001-06-15 15:20:20 by simonpj]
simonpj [Fri, 15 Jun 2001 15:20:20 +0000 (15:20 +0000)]
[project @ 2001-06-15 15:20:20 by simonpj]
* Restore SysTools.system, which implements a kludged version
  of system for reasons that are explained at length in the comments
  [overlong command-lines fail if compiling GHC with pre-5.02 GHCs]

* Wibble in Makefile

22 years ago[project @ 2001-06-15 15:15:33 by simonmar]
simonmar [Fri, 15 Jun 2001 15:15:33 +0000 (15:15 +0000)]
[project @ 2001-06-15 15:15:33 by simonmar]
Restore an #ifdef mingw32_TARGET_OS that shouldn't have been removed
(but do it better this time and don't use an arch-specific #ifdef).

22 years ago[project @ 2001-06-15 12:07:03 by simonmar]
simonmar [Fri, 15 Jun 2001 12:07:03 +0000 (12:07 +0000)]
[project @ 2001-06-15 12:07:03 by simonmar]
- separate location installed binaries from non-binaries (previously
  installed package.conf was in $(libdir)/extra-bin).

- remove v_Path_Perl so that we don't accidentally wire-in the location of
  perl on Unix systems.  It wasn't actually used anywhere.

- minor non-functional cleanups and comment fixups.

- We still look for package.conf twice; I haven't done anything about
  this yet.

22 years ago[project @ 2001-06-15 11:40:29 by simonmar]
simonmar [Fri, 15 Jun 2001 11:40:29 +0000 (11:40 +0000)]
[project @ 2001-06-15 11:40:29 by simonmar]
import Packages

22 years ago[project @ 2001-06-15 11:29:47 by simonmar]
simonmar [Fri, 15 Jun 2001 11:29:47 +0000 (11:29 +0000)]
[project @ 2001-06-15 11:29:47 by simonmar]
override $(libexecdir) to be $(libdir)/bin (the installation machinery
will have to catch up with this too).

22 years ago[project @ 2001-06-15 08:29:57 by simonpj]
simonpj [Fri, 15 Jun 2001 08:29:58 +0000 (08:29 +0000)]
[project @ 2001-06-15 08:29:57 by simonpj]
Some tidying up

* Remove CmStaticInfo
   - GhciMode moves to HscTypes
   - The package stuff moves to new module main/Packages.lhs

[put any package-related stuff in the new module]

* Add Outputable.docToSDoc

22 years ago[project @ 2001-06-14 16:41:46 by rrt]
rrt [Thu, 14 Jun 2001 16:41:46 +0000 (16:41 +0000)]
[project @ 2001-06-14 16:41:46 by rrt]
Add getExecDir to return current directory of executable on Windows (to find
config information).

22 years ago[project @ 2001-06-14 15:42:35 by simonpj]
simonpj [Thu, 14 Jun 2001 15:42:35 +0000 (15:42 +0000)]
[project @ 2001-06-14 15:42:35 by simonpj]
Windows wibbles

22 years ago[project @ 2001-06-14 14:14:53 by simonmar]
simonmar [Thu, 14 Jun 2001 14:14:53 +0000 (14:14 +0000)]
[project @ 2001-06-14 14:14:53 by simonmar]
- CURRENT_DIR isn't used any more
- TmpFiles doesn't exist

22 years ago[project @ 2001-06-14 13:29:30 by simonmar]
simonmar [Thu, 14 Jun 2001 13:29:30 +0000 (13:29 +0000)]
[project @ 2001-06-14 13:29:30 by simonmar]
fix typo in Simon's commit (cGHC_RAWCPP ==> GHC_RAWCPP)

22 years ago[project @ 2001-06-14 12:50:05 by simonpj]
simonpj [Thu, 14 Jun 2001 12:50:07 +0000 (12:50 +0000)]
[project @ 2001-06-14 12:50:05 by simonpj]
----------------------
Installation packaging
----------------------

GHC runs various system programs like
cp, touch
gcc, as, ld etc

On Windows we plan to deliver these programs along with GHC,
so we have to be careful about where to find them.

This commit isolates all these dependencies in a single module

main/SysTools.lhs

Most of the #ifdefery for mingw has moved into this module.
There's some documentation in SysTools.lhs

Along the way I did lots of other cleanups.  In particular

  * There is no more 'globbing' needed when calling runSomething
  * All file removal goes via the standard Directory.removeFile
  * TmpFiles.hs has gone; absorbed into SysTools
  * Some DynFlag stuff has moved from DriverFlags to CmdLineOpts

Still to do:

  ** I'm a bit concerned that calling removeFile one at a time
when deleting masses of split-object files is going to be
rather slow

  ** GHC now expects to find split,mangle,unlit in
libdir/extra-bin
instead of just
libdir

So something needs to change in the Unix installation scripts

  **    The "ineffective C preprocessor" is a perversion and should die

22 years ago[project @ 2001-06-14 11:46:55 by simonmar]
simonmar [Thu, 14 Jun 2001 11:46:55 +0000 (11:46 +0000)]
[project @ 2001-06-14 11:46:55 by simonmar]
just move some code around.

22 years ago[project @ 2001-06-14 09:47:37 by simonmar]
simonmar [Thu, 14 Jun 2001 09:47:37 +0000 (09:47 +0000)]
[project @ 2001-06-14 09:47:37 by simonmar]
comment fixes

22 years ago[project @ 2001-06-13 17:13:15 by rrt]
rrt [Wed, 13 Jun 2001 17:13:15 +0000 (17:13 +0000)]
[project @ 2001-06-13 17:13:15 by rrt]
Make some paths work.

22 years ago[project @ 2001-06-13 17:12:21 by rrt]
rrt [Wed, 13 Jun 2001 17:12:21 +0000 (17:12 +0000)]
[project @ 2001-06-13 17:12:21 by rrt]
Remove redundant and wrong ILX lines.

22 years ago[project @ 2001-06-13 17:01:37 by rrt]
rrt [Wed, 13 Jun 2001 17:01:37 +0000 (17:01 +0000)]
[project @ 2001-06-13 17:01:37 by rrt]
Remove confusing out-of-date comment.

22 years ago[project @ 2001-06-13 15:50:57 by rrt]
rrt [Wed, 13 Jun 2001 15:50:58 +0000 (15:50 +0000)]
[project @ 2001-06-13 15:50:57 by rrt]
Add an ext_name string to foreign dotnet types.

22 years ago[project @ 2001-06-13 15:50:25 by rrt]
rrt [Wed, 13 Jun 2001 15:50:25 +0000 (15:50 +0000)]
[project @ 2001-06-13 15:50:25 by rrt]
Stop using kludgedSystem; the new Windows implementation of system works
instead.

22 years ago[project @ 2001-06-13 10:25:37 by simonmar]
simonmar [Wed, 13 Jun 2001 10:25:37 +0000 (10:25 +0000)]
[project @ 2001-06-13 10:25:37 by simonmar]
correct a comment (the -B option is mandatory).

22 years ago[project @ 2001-06-13 10:23:23 by simonmar]
simonmar [Wed, 13 Jun 2001 10:23:23 +0000 (10:23 +0000)]
[project @ 2001-06-13 10:23:23 by simonmar]
re-do package path munging that I b?rked yesterday

22 years ago[project @ 2001-06-12 17:19:34 by rrt]
rrt [Tue, 12 Jun 2001 17:19:34 +0000 (17:19 +0000)]
[project @ 2001-06-12 17:19:34 by rrt]
Reimplement system() properly on Windows. This avoids two problems with
Windows system(): first, the maximum command-line length, and secondly, the
fact that system() returns before the command has completed, and sleep() was
used to hack around this.

This doesn't affect the use of kludgedSystem, which needs to be removed for
GHC not to need a shell at all.

22 years ago[project @ 2001-06-12 17:09:33 by simonmar]
simonmar [Tue, 12 Jun 2001 17:09:33 +0000 (17:09 +0000)]
[project @ 2001-06-12 17:09:33 by simonmar]
good riddance

22 years ago[project @ 2001-06-12 17:08:11 by simonmar]
simonmar [Tue, 12 Jun 2001 17:08:11 +0000 (17:08 +0000)]
[project @ 2001-06-12 17:08:11 by simonmar]
Don't install the pkgconf binary in a BIN_DIST any more.

22 years ago[project @ 2001-06-12 17:07:23 by simonmar]
simonmar [Tue, 12 Jun 2001 17:07:23 +0000 (17:07 +0000)]
[project @ 2001-06-12 17:07:23 by simonmar]
Allow paths in package.conf to begin with the string "$libdir" which
is magically replaced by the compiler with either

  (a) the argument to the -B<dir> option, if one is present, or
  (b) the wired-in libdir otherwise.

This means that the standard package.conf file is independent of the
install location and we don't need the post-install-script hack any
more (Julian - could you update the install machinery when the time
comes? thanks.)

22 years ago[project @ 2001-06-12 12:02:48 by simonpj]
simonpj [Tue, 12 Jun 2001 12:02:48 +0000 (12:02 +0000)]
[project @ 2001-06-12 12:02:48 by simonpj]
Make CoreTidy clone all top-level names

22 years ago[project @ 2001-06-12 11:15:45 by simonpj]
simonpj [Tue, 12 Jun 2001 11:15:45 +0000 (11:15 +0000)]
[project @ 2001-06-12 11:15:45 by simonpj]
wibble

22 years ago[project @ 2001-06-11 16:49:23 by sewardj]
sewardj [Mon, 11 Jun 2001 16:49:23 +0000 (16:49 +0000)]
[project @ 2001-06-11 16:49:23 by sewardj]
Ensure the boilerplate rule still applies for building HSstd_cbits.o.

22 years ago[project @ 2001-06-11 14:15:32 by simonpj]
simonpj [Mon, 11 Jun 2001 14:15:32 +0000 (14:15 +0000)]
[project @ 2001-06-11 14:15:32 by simonpj]
document data types with no constructors

22 years ago[project @ 2001-06-11 13:39:16 by simonpj]
simonpj [Mon, 11 Jun 2001 13:39:16 +0000 (13:39 +0000)]
[project @ 2001-06-11 13:39:16 by simonpj]
Changes to build HSstd1.o and HSstd2.o for GHCi in lib/std

22 years ago[project @ 2001-06-11 13:31:49 by dsyme]
dsyme [Mon, 11 Jun 2001 13:31:49 +0000 (13:31 +0000)]
[project @ 2001-06-11 13:31:49 by dsyme]
Modifications for GHC.NET (the ILX backend)

22 years ago[project @ 2001-06-11 13:15:10 by dsyme]
dsyme [Mon, 11 Jun 2001 13:15:10 +0000 (13:15 +0000)]
[project @ 2001-06-11 13:15:10 by dsyme]
Modifications to lib/std/Makefile for GHC.NET (ILX backend)

22 years ago[project @ 2001-06-11 12:24:51 by simonpj]
simonpj [Mon, 11 Jun 2001 12:24:53 +0000 (12:24 +0000)]
[project @ 2001-06-11 12:24:51 by simonpj]
--------------------------------------
Tidy up and improve "pattern contexts"
--------------------------------------

In various places (renamer, typechecker, desugarer) we need to know
what the context of a pattern match is (case expression, function defn,
let binding, etc).  This commit tidies up the story quite a bit.  I
think it represents a net decrease in code, and certainly it improves the
error messages from:

f x x = 3

Prevsiously we got a message like "Conflicting bindings for x in a pattern match",
but not it says "..in a defn of function f".

WARNING: the tidy up had a more global effect than I originally expected,
so it's possible that some other error messages look a bit peculiar.  They
should be easy to fix, but tell us!

22 years ago[project @ 2001-06-11 12:21:17 by simonpj]
simonpj [Mon, 11 Jun 2001 12:21:17 +0000 (12:21 +0000)]
[project @ 2001-06-11 12:21:17 by simonpj]
--------------------------
Allow data type declarations
to have zero constructors
--------------------------

This allows

data T a

as a data type declaration; i.e. allows zero constructors.
If there is an '=' sign there must be at least one constructor.

* Parser.y: parse the declaration
* HsDecls: print out the data type declaration right
* TyCon: don't ASSERT that the constructors are non-empty

22 years ago[project @ 2001-06-11 08:58:21 by malcolm]
malcolm [Mon, 11 Jun 2001 08:58:21 +0000 (08:58 +0000)]
[project @ 2001-06-11 08:58:21 by malcolm]
Mention __NHC__ alongside __HUGS__ and __HBC__ in the description
of the cpp symbol __GLASGOW_HASKELL__.

22 years ago[project @ 2001-06-09 07:06:05 by qrczak]
qrczak [Sat, 9 Jun 2001 07:06:05 +0000 (07:06 +0000)]
[project @ 2001-06-09 07:06:05 by qrczak]
Fix hSetPosn type in the export comment.

22 years ago[project @ 2001-06-08 20:09:43 by sof]
sof [Fri, 8 Jun 2001 20:09:43 +0000 (20:09 +0000)]
[project @ 2001-06-08 20:09:43 by sof]
When checking to see whether the .o is up-to-date, use the -o .o (if given)

22 years ago[project @ 2001-06-08 18:59:11 by sof]
sof [Fri, 8 Jun 2001 18:59:11 +0000 (18:59 +0000)]
[project @ 2001-06-08 18:59:11 by sof]
findOnPackagePath: return file-path not directory

22 years ago[project @ 2001-06-07 16:00:18 by sewardj]
sewardj [Thu, 7 Jun 2001 16:00:18 +0000 (16:00 +0000)]
[project @ 2001-06-07 16:00:18 by sewardj]
Allow underscores in module names presented to the :module command.

22 years ago[project @ 2001-06-07 14:15:22 by simonmar]
simonmar [Thu, 7 Jun 2001 14:15:22 +0000 (14:15 +0000)]
[project @ 2001-06-07 14:15:22 by simonmar]
Don't force a module's {-# SOURCE #-} imports to have object linkables
in order for the current module's object linkable to be considered
valid (fixes some unnecessary recompilation with recursive modules).

22 years ago[project @ 2001-06-07 11:07:51 by sewardj]
sewardj [Thu, 7 Jun 2001 11:07:51 +0000 (11:07 +0000)]
[project @ 2001-06-07 11:07:51 by sewardj]
Fix Unix world breakage.

22 years ago[project @ 2001-06-07 11:03:07 by simonmar]
simonmar [Thu, 7 Jun 2001 11:03:08 +0000 (11:03 +0000)]
[project @ 2001-06-07 11:03:07 by simonmar]
First part of support for hierarchical module names:

   - the Finder now searches all possible paths when looking for
     a source file or .hi file.  I've removed the caching because
     now we have to search in subdirectories of each path option,
     and it was dubious whether the cache was actually helping.

   - the compilation manager now outputs a warning if it can't find
     the source for a given module, only the .hi file.  Previously
     this caused a cryptic error message when we attempted to call
     getModificationTime on the non-existent source file.

22 years ago[project @ 2001-06-07 10:45:30 by sewardj]
sewardj [Thu, 7 Jun 2001 10:45:30 +0000 (10:45 +0000)]
[project @ 2001-06-07 10:45:30 by sewardj]
Track current changes in the text-mode-seek-on-Windows saga.

22 years ago[project @ 2001-06-07 10:44:47 by sewardj]
sewardj [Thu, 7 Jun 2001 10:44:47 +0000 (10:44 +0000)]
[project @ 2001-06-07 10:44:47 by sewardj]
Try to improve matters in the text-mode-seek swamp.  Only disallow
text-mode-seeks on Win32, rather than on all platforms.  That means
that seeks in text mode on Unix platforms should work as originally
(which was the correct H98 behaviour), whilst Win32 generates
exceptions if you do seeks in text mode.

22 years ago[project @ 2001-06-06 14:41:45 by simonmar]
simonmar [Wed, 6 Jun 2001 14:41:45 +0000 (14:41 +0000)]
[project @ 2001-06-06 14:41:45 by simonmar]
yet more wibbles

22 years ago[project @ 2001-06-06 14:38:35 by simonmar]
simonmar [Wed, 6 Jun 2001 14:38:35 +0000 (14:38 +0000)]
[project @ 2001-06-06 14:38:35 by simonmar]
wibbles

22 years ago[project @ 2001-06-06 14:33:13 by sewardj]
sewardj [Wed, 6 Jun 2001 14:33:13 +0000 (14:33 +0000)]
[project @ 2001-06-06 14:33:13 by sewardj]
Another -L<dir> for ghci wibble.

22 years ago[project @ 2001-06-06 14:03:41 by sewardj]
sewardj [Wed, 6 Jun 2001 14:03:41 +0000 (14:03 +0000)]
[project @ 2001-06-06 14:03:41 by sewardj]
RTS-side stuff for making -L<dir> work on the ghci command line.

22 years ago[project @ 2001-06-06 14:02:50 by sewardj]
sewardj [Wed, 6 Jun 2001 14:02:50 +0000 (14:02 +0000)]
[project @ 2001-06-06 14:02:50 by sewardj]
Haskell-side stuff for making -L<dir> work on the ghci command line.

22 years ago[project @ 2001-06-06 12:24:00 by simonmar]
simonmar [Wed, 6 Jun 2001 12:24:00 +0000 (12:24 +0000)]
[project @ 2001-06-06 12:24:00 by simonmar]
wibbles

22 years ago[project @ 2001-06-06 12:04:46 by simonmar]
simonmar [Wed, 6 Jun 2001 12:04:46 +0000 (12:04 +0000)]
[project @ 2001-06-06 12:04:46 by simonmar]
Further improve the $(SRCS) story, allowing you to exclude certain
sources (and all of their derived components) by setting
$(EXCLUDED_SRCS).

22 years ago[project @ 2001-06-06 11:03:48 by simonmar]
simonmar [Wed, 6 Jun 2001 11:03:48 +0000 (11:03 +0000)]
[project @ 2001-06-06 11:03:48 by simonmar]
Add prototype for inputReady().

22 years ago[project @ 2001-06-06 10:44:26 by rrt]
rrt [Wed, 6 Jun 2001 10:44:26 +0000 (10:44 +0000)]
[project @ 2001-06-06 10:44:26 by rrt]
Update with more instructions on getting the IS setup working and notes on
why some of the less obvious binaries are included in the Windows dist.

22 years ago[project @ 2001-06-06 10:35:39 by rrt]
rrt [Wed, 6 Jun 2001 10:35:39 +0000 (10:35 +0000)]
[project @ 2001-06-06 10:35:39 by rrt]
Add comment about why gmp is configured differently on Windows.

22 years ago[project @ 2001-06-06 10:33:35 by rrt]
rrt [Wed, 6 Jun 2001 10:33:35 +0000 (10:33 +0000)]
[project @ 2001-06-06 10:33:35 by rrt]
Say that building packages as DLLs is now no longer supported, but may still
work.

22 years ago[project @ 2001-06-06 09:36:02 by simonmar]
simonmar [Wed, 6 Jun 2001 09:36:02 +0000 (09:36 +0000)]
[project @ 2001-06-06 09:36:02 by simonmar]
Note in the documentation for :load that you can't load a package
module, and describe how we decide what the context is set to after a
:load.

22 years ago[project @ 2001-06-05 16:45:57 by simonmar]
simonmar [Tue, 5 Jun 2001 16:45:57 +0000 (16:45 +0000)]
[project @ 2001-06-05 16:45:57 by simonmar]
Clean up the SRCS story.  This still won't fix the problem with
GhcLibsWithReadline=NO, but it's headed in the right direction.

22 years ago[project @ 2001-06-05 16:21:25 by sewardj]
sewardj [Tue, 5 Jun 2001 16:21:25 +0000 (16:21 +0000)]
[project @ 2001-06-05 16:21:25 by sewardj]
Make c_read visible on Win32.

22 years ago[project @ 2001-06-05 14:09:45 by sewardj]
sewardj [Tue, 5 Jun 2001 14:09:45 +0000 (14:09 +0000)]
[project @ 2001-06-05 14:09:45 by sewardj]
Updates for 5.01.

22 years ago[project @ 2001-06-05 10:53:36 by sewardj]
sewardj [Tue, 5 Jun 2001 10:53:36 +0000 (10:53 +0000)]
[project @ 2001-06-05 10:53:36 by sewardj]
Calculate the correct set of modules to link in the case of upsweep
partial failure.

MERGE INTO 5.00.2

22 years ago[project @ 2001-06-05 10:31:57 by sewardj]
sewardj [Tue, 5 Jun 2001 10:31:57 +0000 (10:31 +0000)]
[project @ 2001-06-05 10:31:57 by sewardj]
Improve instance Outputable Linkable (purely cosmetic).

22 years ago[project @ 2001-06-05 10:09:33 by simonpj]
simonpj [Tue, 5 Jun 2001 10:09:33 +0000 (10:09 +0000)]
[project @ 2001-06-05 10:09:33 by simonpj]
ghc/rts/gmp/configure hangs up altogether on this
rm command:
    rm -f mpn/${tmp_fn}.[Ssc] mpn/${tmp_fn}.asm
I added lots of print statements to show progress
(hence the more verbose output) and found, I think,
that expanding the [Ssc] fixes the problem.

22 years ago[project @ 2001-06-05 09:30:20 by simonpj]
simonpj [Tue, 5 Jun 2001 09:30:20 +0000 (09:30 +0000)]
[project @ 2001-06-05 09:30:20 by simonpj]
Add str002 (recursive newtype test)

22 years ago[project @ 2001-06-04 16:49:15 by simonpj]
simonpj [Mon, 4 Jun 2001 16:49:15 +0000 (16:49 +0000)]
[project @ 2001-06-04 16:49:15 by simonpj]
----------------------------------
Make exprArity give the right answer
----------------------------------

MERGE INTO 5.00.2

This fixes a fairly long-standing bug in exprArity, dating from
the time we allowed arguments to be non-atoms. If f had arity
2, it was saying that

f (factorial x)

had arity 2, as well, which is plain wrong.

22 years ago[project @ 2001-06-04 16:47:06 by simonpj]
simonpj [Mon, 4 Jun 2001 16:47:06 +0000 (16:47 +0000)]
[project @ 2001-06-04 16:47:06 by simonpj]
----------------------------------
Fix an existential-constructor bug
----------------------------------

MERGE INTO 5.00.2

This fixes a long-standing bug that made the strictness
analyser go into a loop if it met a recursive newtype:

newtype Void = MkVoid Void

22 years ago[project @ 2001-06-04 16:46:00 by simonpj]
simonpj [Mon, 4 Jun 2001 16:46:00 +0000 (16:46 +0000)]
[project @ 2001-06-04 16:46:00 by simonpj]
Import wibbles

22 years ago[project @ 2001-06-04 16:34:19 by simonmar]
simonmar [Mon, 4 Jun 2001 16:34:19 +0000 (16:34 +0000)]
[project @ 2001-06-04 16:34:19 by simonmar]
Add test for Manuel's finalizer bug.

22 years ago[project @ 2001-06-04 16:26:54 by simonmar]
simonmar [Mon, 4 Jun 2001 16:26:54 +0000 (16:26 +0000)]
[project @ 2001-06-04 16:26:54 by simonmar]
Try doing a major GC before declaring that we're deadlocked, since
there might be finalizers waiting to run that can unblock the system.

Noticed by: Manuel.

22 years ago[project @ 2001-06-04 15:42:30 by qrczak]
qrczak [Mon, 4 Jun 2001 15:42:30 +0000 (15:42 +0000)]
[project @ 2001-06-04 15:42:30 by qrczak]
Remove unused files.

22 years ago[project @ 2001-06-04 14:51:15 by simonmar]
simonmar [Mon, 4 Jun 2001 14:51:15 +0000 (14:51 +0000)]
[project @ 2001-06-04 14:51:15 by simonmar]
Hmm, thought I removed this file.  Anyway, it's now been replaced by
PrelPosix.

22 years ago[project @ 2001-06-04 13:40:39 by simonpj]
simonpj [Mon, 4 Jun 2001 13:40:39 +0000 (13:40 +0000)]
[project @ 2001-06-04 13:40:39 by simonpj]
Add storage mgt doc

22 years ago[project @ 2001-06-04 06:20:35 by qrczak]
qrczak [Mon, 4 Jun 2001 06:20:35 +0000 (06:20 +0000)]
[project @ 2001-06-04 06:20:35 by qrczak]
Don't use exitWith where exceptions are treated as errors.

22 years ago[project @ 2001-06-02 09:45:51 by qrczak]
qrczak [Sat, 2 Jun 2001 09:45:51 +0000 (09:45 +0000)]
[project @ 2001-06-02 09:45:51 by qrczak]
Don't panic on ExitException.

22 years ago[project @ 2001-06-01 17:14:07 by apt]
apt [Fri, 1 Jun 2001 17:14:08 +0000 (17:14 +0000)]
[project @ 2001-06-01 17:14:07 by apt]
added support for emiting external core format

22 years ago[project @ 2001-06-01 14:33:01 by sewardj]
sewardj [Fri, 1 Jun 2001 14:33:02 +0000 (14:33 +0000)]
[project @ 2001-06-01 14:33:01 by sewardj]
More tracking of IO lib changes.

22 years ago[project @ 2001-06-01 13:07:35 by sewardj]
sewardj [Fri, 1 Jun 2001 13:07:36 +0000 (13:07 +0000)]
[project @ 2001-06-01 13:07:35 by sewardj]
Track recent changes to lib/std for mingw.  Mostly, make all seeked-on
file handles be in binary mode.

22 years ago[project @ 2001-06-01 13:06:01 by sewardj]
sewardj [Fri, 1 Jun 2001 13:06:01 +0000 (13:06 +0000)]
[project @ 2001-06-01 13:06:01 by sewardj]
More fixups to make the new IO lib work on mingw.
* Outlaw changing the file position on a text-mode file.  After
  consideration of the mingw translation semantics I cannot see
  how to make a correct implementation.
* Add a field to Handle__ to say whether or not the handle is in
  binary mode.
* Restrict seek operations on Handles to those in binary mode.
* Export hSetBinaryMode from IO.lhs.

22 years ago[project @ 2001-05-31 17:13:30 by sof]
sof [Thu, 31 May 2001 17:13:30 +0000 (17:13 +0000)]
[project @ 2001-05-31 17:13:30 by sof]
perl config: Remove bogus test I introduced

22 years ago[project @ 2001-05-31 13:50:44 by simonmar]
simonmar [Thu, 31 May 2001 13:50:44 +0000 (13:50 +0000)]
[project @ 2001-05-31 13:50:44 by simonmar]
correct mistake in the documentation of index<blah>Array# and
index<blah>OffAddr#.  The documentation on primitives is all wildly
out of date in other ways, though.

22 years ago[project @ 2001-05-31 12:40:59 by simonmar]
simonmar [Thu, 31 May 2001 12:40:59 +0000 (12:40 +0000)]
[project @ 2001-05-31 12:40:59 by simonmar]
- document -hidir option
- move -ohi documentation to "redirecting output" section
- remove duplicate -ohi in the flags table.
- add a warning about -ohi confusing the recompilation checker.

22 years ago[project @ 2001-05-31 11:32:25 by simonmar]
simonmar [Thu, 31 May 2001 11:32:25 +0000 (11:32 +0000)]
[project @ 2001-05-31 11:32:25 by simonmar]
- add -hidir flag to control the destination for .hi files when doing
  multiple compilations (matches -odir).

- change the ml_hi_file component of ModuleLocation from Maybe FilePath to
  FilePath.  We never made use of its Maybeness.

- clear out some unused code from the Hsc phase of run_phase and clean up
  a bit.  Fix a bug with the -ohi option at the same time (I don't think
  it works in 5.xx.x before this patch).

22 years ago[project @ 2001-05-31 11:25:51 by simonmar]
simonmar [Thu, 31 May 2001 11:25:51 +0000 (11:25 +0000)]
[project @ 2001-05-31 11:25:51 by simonmar]
If we can't read the old interface file for some reason (eg. it isn't
there, or it has the wrong version), then output the error if
-ddump-hi-diffs is on.  It used to be part of -ddump-rn-trace, but
-ddump-hi-diffs seems more logical, since it covers all the other
information about why a module is being recompiled.

22 years ago[project @ 2001-05-31 11:10:30 by simonpj]
simonpj [Thu, 31 May 2001 11:10:30 +0000 (11:10 +0000)]
[project @ 2001-05-31 11:10:30 by simonpj]
More echoes; I have no idea why we get stuck, but sometimes we do

22 years ago[project @ 2001-05-31 10:59:14 by simonmar]
simonmar [Thu, 31 May 2001 10:59:14 +0000 (10:59 +0000)]
[project @ 2001-05-31 10:59:14 by simonmar]
Fix bug in the GC info for an stg_ap_1_upd closure (it was one word too short).

22 years ago[project @ 2001-05-31 10:32:28 by sewardj]
sewardj [Thu, 31 May 2001 10:32:28 +0000 (10:32 +0000)]
[project @ 2001-05-31 10:32:28 by sewardj]
Various mingw fixes.

22 years ago[project @ 2001-05-31 10:19:49 by simonpj]
simonpj [Thu, 31 May 2001 10:19:49 +0000 (10:19 +0000)]
[project @ 2001-05-31 10:19:49 by simonpj]
Add a few more echos, to avoid anxiety in the long pause when looking for files

22 years ago[project @ 2001-05-31 10:03:35 by simonmar]
simonmar [Thu, 31 May 2001 10:03:35 +0000 (10:03 +0000)]
[project @ 2001-05-31 10:03:35 by simonmar]
- don't put a TTY into RAW mode if the handle is an output-only handle (so
  if you set stdout to NoBuffering and leave stdin as it is, you don't
  lose TTY processing on stdin).

- some cleanups.

22 years ago[project @ 2001-05-31 10:01:57 by simonmar]
simonmar [Thu, 31 May 2001 10:01:57 +0000 (10:01 +0000)]
[project @ 2001-05-31 10:01:57 by simonmar]
update expected output

22 years ago[project @ 2001-05-31 09:48:54 by sewardj]
sewardj [Thu, 31 May 2001 09:48:54 +0000 (09:48 +0000)]
[project @ 2001-05-31 09:48:54 by sewardj]
Avoid use of /dev/null on mingw.

22 years ago[project @ 2001-05-31 09:46:21 by simonpj]
simonpj [Thu, 31 May 2001 09:46:21 +0000 (09:46 +0000)]
[project @ 2001-05-31 09:46:21 by simonpj]
----------------------------------
Fix an existential-constructor bug
----------------------------------

DON'T MERGE!

This fixes a bug I introduced in my
tidying up for scoped type variables.

You'll get bizarre behaviour from the HEAD if
you use existentials, until you add this fix!

22 years ago[project @ 2001-05-31 09:37:23 by simonmar]
simonmar [Thu, 31 May 2001 09:37:23 +0000 (09:37 +0000)]
[project @ 2001-05-31 09:37:23 by simonmar]
Clarify the situation with GHCi object files, and add instructions for
building one from a .a file.

22 years ago[project @ 2001-05-31 09:28:41 by simonmar]
simonmar [Thu, 31 May 2001 09:28:41 +0000 (09:28 +0000)]
[project @ 2001-05-31 09:28:41 by simonmar]
markup wibble

22 years ago[project @ 2001-05-31 09:28:22 by simonmar]
simonmar [Thu, 31 May 2001 09:28:22 +0000 (09:28 +0000)]
[project @ 2001-05-31 09:28:22 by simonmar]
markup fixes

22 years ago[project @ 2001-05-31 09:18:34 by simonmar]
simonmar [Thu, 31 May 2001 09:18:34 +0000 (09:18 +0000)]
[project @ 2001-05-31 09:18:34 by simonmar]
Clarify where we look for libraries named on the command line (-lfoo),
and mention LD_LIBRARY_PATH.

The implementation is still wrong, however.

22 years ago[project @ 2001-05-31 09:00:28 by rrt]
rrt [Thu, 31 May 2001 09:00:28 +0000 (09:00 +0000)]
[project @ 2001-05-31 09:00:28 by rrt]
Add -mwin32 -mno-cygwin to CPPFLAGS.

22 years ago[project @ 2001-05-30 16:39:48 by sewardj]
sewardj [Wed, 30 May 2001 16:39:48 +0000 (16:39 +0000)]
[project @ 2001-05-30 16:39:48 by sewardj]
Give correct output for mingw.

22 years ago[project @ 2001-05-30 16:39:22 by sewardj]
sewardj [Wed, 30 May 2001 16:39:22 +0000 (16:39 +0000)]
[project @ 2001-05-30 16:39:22 by sewardj]
Initial mods to make the Glorious New IO Library (tm) work on mingw.
Not everything works, but is compilable, and off to a good start.

22 years ago[project @ 2001-05-30 13:20:11 by simonmar]
simonmar [Wed, 30 May 2001 13:20:11 +0000 (13:20 +0000)]
[project @ 2001-05-30 13:20:11 by simonmar]
Fix a difference between the NCG implementation of the UPD_CAF() macro
and the C version.  I think the C version was changed recently but the
NCG version never caught up.  Fixes a crash in GHCi with NCG compiled
code.