ghc-4.08.2 for Windows bugs

2001-04-17 Thread andreas.marth
The actual ghc-4.08.2 for Windows (the one with 16.375 kB [I have already 4 differnt versions]) calls gcc with "-mwin32" wich leads to: "cc1.exe: Invalid option `win32 ". I changed line 2194 of ghc/ghc-4.08.2 from "$c_flags .= " -mno-cygwin -mwin32" if ( $TargetPlatform =~ /-mingw32$/ );" to

function over Array and UArray possible?

2001-03-29 Thread andreas.marth
Hallo! Is it possible to give a context, so that a function can have a signature which combines foo :: (Ix i) = Array i a - Array i aand foo :: (Ix i) = UArray i a - Uarray i a ? at the moment I have a lot of functions foo and fooU which have the same body but different

changing maximum heap

2001-03-28 Thread andreas.marth
Hallo! I need to change the maximum heap to run a program. I know that I can call my program with the -M option (e.g. myProgram +RTS -M120m -RTS). But in section 3.12.4 of the user guide are some hooks named, which allow one to change different defaults. Unfortunatly I didn't find a Hook

Replacing module Array by IArray

2001-03-28 Thread andreas.marth
Hallo! The module Array exports module Ix (Haskell 98 Library Report). The module IArray doesn't export Ix (jet?). I think a pack and unpack function to convert between IArray ix be and UArray ix ube via 'amap pack/unpack' would be useful. (Or am I just missing the conversion function and it

Re: Re: Problems when mounting c: to /

2001-02-27 Thread andreas.marth
Hallo! I just run "ghc -c -v Main.hs 21| tee withMount.log" while c: was mounted at / and "ghc -c -v Main.hs 21| tee withoutMount.log" after unmounting it. I attached both Files. because cygwin complains about a missing /tmp after mounting c: to / I have a c:\tmp directory but ghc uses

Problems when mounting c: to /

2001-02-23 Thread andreas.marth
Hallo everybody! When installing ghc-4.08.2 (onWinNT) as described in the installation instructions under c:, I couldn't get ghc to run. It invoked the C-preprozessor and stoped after cleaning. When I unmount c:, it works fine. (If I install cygwin and dont mount c: to / it works fine too.)

Missing *.h files

2001-02-13 Thread andreas.marth
I just installed ghc-4.08.2 on a WinNT system. When I compile Hello World with -O or -prof -auto-all ghc misses a lot of *.h files (see attached log files). What can I do? Thanks, Andreas O-log.txt prof-log.txt

mingw-20001111-1.tar.gz still needed for cygwin WinNT?

2001-02-13 Thread andreas.marth
Hi is the mingw-2000-1.tar.gz still needed? How do I install it with the actual cygwin (just downloaded)? I put it in the ../latest/mingw/ directory but can not chose it in the installation program. Any help appreciated. Thanks, Andreas ___

questions about the installation instructions for WinNT and ghc-4.08x

2001-02-13 Thread andreas.marth
I have some question relating the intsallation of ghc-4.08x on a WinNT/cygwin system. In the installation instruction is under 2.2.2.1 paragraph "Here's how to install Cygwin" written: After installation, start up a Cygwin shell and issue the following command: mount

uncertanty about instruction in installation instructions for WinNT

2000-10-09 Thread andreas.marth
Hallo everybody! I just wanted to setup a new System with ghc-4.08.1 und tried to make everything as mentioned in the "installation instructions". But because I installed cygwin1_1 in root (as suggested) I have to overwrite /bin/sh with /bin/bash and am not sure if I should really do that.