- 01 Jun, 2001 2 commits
-
-
sewardj authored
Track recent changes to lib/std for mingw. Mostly, make all seeked-on file handles be in binary mode.
-
sewardj authored
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.
-
- 31 May, 2001 18 commits
-
-
sof authored
perl config: Remove bogus test I introduced
-
simonmar authored
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.
-
simonmar authored
- 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.
-
simonmar authored
- 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).
-
simonmar authored
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.
-
simonpj authored
More echoes; I have no idea why we get stuck, but sometimes we do
-
simonmar authored
Fix bug in the GC info for an stg_ap_1_upd closure (it was one word too short).
-
sewardj authored
Various mingw fixes.
-
simonpj authored
Add a few more echos, to avoid anxiety in the long pause when looking for files
-
simonmar authored
- 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.
-
simonmar authored
update expected output
-
sewardj authored
Avoid use of /dev/null on mingw.
-
simonpj authored
---------------------------------- 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!
-
simonmar authored
Clarify the situation with GHCi object files, and add instructions for building one from a .a file.
-
simonmar authored
markup wibble
-
simonmar authored
markup fixes
-
simonmar authored
Clarify where we look for libraries named on the command line (-lfoo), and mention LD_LIBRARY_PATH. The implementation is still wrong, however.
-
rrt authored
Add -mwin32 -mno-cygwin to CPPFLAGS.
-
- 30 May, 2001 4 commits
-
-
sewardj authored
Give correct output for mingw.
-
sewardj authored
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.
-
simonmar authored
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.
-
simonmar authored
Correct the instructions for compiling a debugging RTS (-optc isn't needed before options in GhcRtsCcOpts any more).
-
- 29 May, 2001 5 commits
-
-
sof authored
missing whitespaces caused touch/rm to fail
-
simonpj authored
Stuff about scoped type variables
-
rrt authored
Don't build lndir on mingwin, which doesn't have symlinks.
-
rrt authored
Reimplement getCPUTime in Haskell for Windows.
-
sof authored
Deal with nested comments (HDirect sources showed up this bug)
-
- 28 May, 2001 8 commits
-
-
qrczak authored
Fix removing temporary files.
-
simonmar authored
When we auto-load a module because the user typed a qualified name at the prompt, we better not auto-load a home interface (because we won't have the code to go with it). So, introduce a new constructor in the WhereFrom datatype, namely ImportByCmdLine for these auto-imports, and make findAndReadIface fail if it tries to load a home interface by this route. ToDo: GHCi should *never* demand-load a home interface under any circumstances, but we don't have an ASSERT for this yet.
-
simonmar authored
Change the GHCi monad from type GHCiState -> IO (GHCiState, a) to IORef GHCiState -> IO a to avoid losing recent changes to the state when we receive an exception (which would normally be harmless, except that the state isn't purely functional: it must match some state kept by the RTS's dynamic linker). Asynchonous exceptions could still cause us some difficulty.
-
simonpj authored
Wibble for scoped type variables
-
sof authored
get rid of some more cpp warnings
-
sof authored
de-ramble previous commit
-
sof authored
Misc minor changes to integrate GHC a little bit better on Win32 platforms. Specifically, the commit does the following (assuming you've configured fptools/ with the option --enable-minimal-unix-deps on a mingw platform): * when GHC uses System.system, it expects an MSDOS command processor to interpret the command. This implies that 'normal' UNIX shell utils will no longer be used, but substituted with MSDOS equivalents. * the GHC backend relies on gcc and perl to handle .s/.hc/.o/.a files. GHC will now assume that these all live in one 'tool directory', making it easier to bundle these backend tools with GHC. The upshot of these changes is that it is now possible for the user not to have to install cygwin prior to installing GHC (as the upcoming ghc-win32 binary release will prove).
-
sof authored
Avoid the use of Posix when compiling for target i386-unknown-mingw32
-
- 27 May, 2001 3 commits
-
-
sof authored
Added GHC_TOUCHY_DIR and GHC_TOUCHY
-
sof authored
New configure script option, --enable-minimal-unix-deps, a Win32-specific option which lets you build a compiler that doesn't depend on cygwin tools to run. Well, you still need tools such as gcc and perl in the backend, but these don't have to be cygwin ports.
-
sof authored
wibble
-