Re: Bug in ghc-502 with system cmd tmp?

2001-10-15 Thread Reuben Thomas
I have the following problem on Windows NT using ghc 5.02 from a cygwin bash-shell. Calls to System.system of the form system $ grep -E ++ show str ++ ++ file ++ tmp do not work because of the (ditto with ). Execution yields: grep: : No such file or directory This is because

Re: GHC 5.02 Win32

2001-10-09 Thread Reuben Thomas
Yes, non-interactive uses of the Win32 library appear to be in a non-working state (at least with my copy of ghc-5.02, don't know if there's been any stealth updates to the installer binary.) As a stop-gap measure, replace ghc-5.02's libHSwin32.a (after having saved it away) with the one

Re: Win98 PATH bug in ghc 5.02

2001-09-28 Thread Reuben Thomas
I realise this was raised in August but the Windows 98 version of ghc (including the latest 5.02 release) has troubles because it can't find the assembler in the PATH variable's directories. I gathered that it was going to be fixed for the new release, but I'm not sure that it has been. It

Re: Problems running GHC 5.02 in Windows

2001-09-27 Thread Reuben Thomas
ghc -o main main.hs but this gave back the following message: gcc: installation problem, cannot exec `C:/PROGRAM FILES/GLASGOW HASKELL COMPILER/GHC-5.02/gcc-lib/as.exe': No such file or directory I'm sure its probably quite simple to fix, but I'm no expert and I can't see what to do.

Updated GHC 5.02 Windows InstallShield

2001-09-27 Thread Reuben Thomas
I have updated the Windows InstallShield for 5.02 to contain the correct version of the GCC driver, gcc.exe. This should allow GHC 5.02 to work properly on Windows '95/98/ME when compiling via C. Only one file is affected; if you've already downloaded the previous InstallShield, you can just

Re: NEw Install Shield Borage Thungg working on win 2000

2001-09-17 Thread Reuben Thomas
I am not quite sure what you mean ghc will only work at the bin directory. Do you mean that you can only compile files when you are in the bin directory? Have you added ghc's bin directory to your PATH? Yes, I have added the bin directory to my PATH and yet ,I can only compile files

Re: ghc uses C:\TEMP for temporary files, rather than %TEMP

2001-08-17 Thread Reuben Thomas
I have my TEMP variable set to C:\WINNT\TEMP (Windows 2000). I do not have a C:\TEMP directory. However, when I run ghc on a trivial source file, I get ghc -o main main.hs ghc: panic! (the `impossible' happened, GHC version 5.01): Failed to open or write code output file

Re: BUGS (2): Win32 ghc and Win98

2001-08-16 Thread Reuben Thomas
BUG 1: Under Windows 98, ghc fails because of a gcc path problem - can't find as etc. FIX 1: This is caused by a particular release of the standalone mingw32 gcc which changed the default path separator and broke the package under W98 and some of the newer versions of Windows. I fixed

Re: Greencard CVS - ErrorHook.c

2001-08-08 Thread Reuben Thomas
The CVS edition of Greencard has a file src/ErrorHook.c which causes a linker error about _impure_ptr under Win32 with the latest install-shield ghc. That suggests that the file has been compiled with the wrong GCC options compared with the rest of the code, e.g. perhaps without -mno-cygwin.

Re: Absolute begginer in haskell

2001-03-13 Thread Reuben Thomas
Welcome to Cygwin hell... $ ghc -o teste main.hs /usr/lib/gcc-lib/i686-pc-cygwin/gcc-2.95.2-9/../../../../i686-pc-cygwin/bin/ ld: cannot open mingw/crt2.o: No such file or directory collect2: ld returned 1 exit status I suspect you'll be wanting to use gcc-2.95.2-6 (which is the current

New InstallShield

2001-02-28 Thread Reuben Thomas
This one corrects a problem with the fix made in the last one that stopped anything to do with stat() working (e.g. hFileSize, reading directories c. c.). Sorry about that. The fix is still fragile and temporary; I'm waiting for the underlying mingwin problems to be fixed, hopefully in time for

Re: HDirect Installation Problems

2001-02-23 Thread Reuben Thomas
[Redirected from Haskell list to ghc-bugs] gcc -I. -mno-cygwin -I.-c PointerSrc.c -o PointerSrc.o Looks like you've managed to configure for mingwin. Are you by any chance not running this compile under mingwin? Check your HDirect Makefile. -- http://sc3d.org/rrt/ | competent, a.

FW: Segmentation fault in program

2001-02-23 Thread Reuben Thomas
Sorry to take so long to get around to this, but I finally have. I used Simon's modified version of your code (passing __init_ConvertProxy rather than __init_Convert as the third argument to startupHaskell), and it works fine, on large files with large and small buffers. Did you have particular

Re: Read file fails on Windows

2001-02-22 Thread Reuben Thomas
I just installed ghc-4.08.2 on Windows NT. I tried the following program Make sure you've got the latest version of GHC (uploaded earlier today), though I can't see why it would fail with any earlier version either. Anyway, it works fine for me. -- http://sc3d.org/rrt/ | aphorism, n. a wise

Re: Missing *.h files

2001-02-14 Thread Reuben Thomas
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). Note to those who didn't see the attachments: all the missing includes are from the standard C library. What can I do? Set your

Re: Funny global thing?

2001-02-09 Thread Reuben Thomas
I'm getting some strange error messages when trying to compile Ralf Hinze's lhs2TeX under GHC 4.08.1 and a pretty recent cygwin install on Windows 2000. The strange thing is that I was able to compile these sources previously, with the same ghc but an older cygwin. Any ideas? I've not run

Re: Problem building ghc-4.08.2: rename/RnHiFiles.hi-boot-5

2001-02-07 Thread Reuben Thomas
I'm using an existing ghc-4.08.1 installation to compile. I would have tried to compile with an ghc-4.08.2 compiler build from the x86 HC files, but the donload link for the HC files doesn't work. I've fixed the link; sorry about that. -- http://sc3d.org/rrt/ | RSA, n. safety in numbers

Re: GHC 4.08 vs Cygwin 1.1.7 ??

2001-01-28 Thread Reuben Thomas
More usefully to the list, the fix was to make sure that all Cywin mounts were textmode. -- http://sc3d.org/rrt/ | egrep, n. a bird that debugs bison ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED]

RE: zonkIdOcc: FunDep_a1Dc

2001-01-28 Thread Reuben Thomas
The HEAD, which will become GHCi 5.0, does not have functional ~~~ dependencies, and I think they work properly ~~ Shurely shome mishtake? -- http://sc3d.org/rrt/ L'art des vers

Re: Can't find files in 4.08.1

2001-01-21 Thread Reuben Thomas
I searched, and those two files weren't installed anywhere on my system. Should they have been? No. Use -static. This unhappiness will be fixed in 4.08.2. -- http://sc3d.org/rrt/ | computation, n. automated pedantry ___ Glasgow-haskell-bugs

Re: Problem installing GHC under Windows 98

2001-01-20 Thread Reuben Thomas
(Main.hs is attached), which produces the following output: The Glorious Glasgow Haskell Compilation System, version 4.08.1 Effective command line: -v Ineffective C pre-processor: echo '{-# LINE 1 "Main.hs" -}' C:/TEMP/ghc607133.cpp cat Main.hs C:/TEMP/ghc607133.cpp

Re: cygwin compile failure

2001-01-19 Thread Reuben Thomas
I'm attempting to compile ghc from cvs using the cygwin tools under NT. uname -a :CYGWIN_NT-4.0 BALPC 1.1.7(0.31/3/2) 2000-12-25 12:39 i686 unknown gcc -v:gcc version 2.95.2-6 19991024 (cygwin experimental) The output of make is attached. Any ideas? The build system doesn't know where to

RE: Re: cygwin compile failure

2001-01-19 Thread Reuben Thomas
This is an attempt to compile without ghc. You need to compile from HC files, then. I'm not sure if this works on Windows, but you can download the x86 HC files bundle and try... -- http://sc3d.org/rrt/ | plagiarism, n. the mind burgles ___

RE: Re: cygwin compile failure

2001-01-19 Thread Reuben Thomas
Perhaps I am taking the wrong route... Initially I tried to compile with ghc version 4.08.1b. I've attached the output. It can't find the "posix" directory. Maybe "configure" didn't specify the correct options for my version of ghc? If you're doing this on Windows, you have to use

Re: Windows Install Problem

2001-01-03 Thread Reuben Thomas
I read the newsgroup and found that I should use the -static flag (can someone update the documentation) but I then got the following errors: $ ghc -static main.hs Compilation IS NOT required Delete your object files and start again. The docs will be fixed for 4.08.2 (the online docs should

Re: Important error in Download GHC 4.08.1 page

2000-11-28 Thread Reuben Thomas
On the page http://www.haskell.org/ghc/download.html The link titled "RedHat 7 binary" should be changed from this URL: ftp://ftp.cse.unsw.edu.au/pub/users/chak/jibunmaki/i386/ghc-4.08.1-1.i386.rpm to this URL:

Re: Exceptions

2000-11-14 Thread Reuben Thomas
I just installed ghc-4.08.1 on a Win2k computer. Then I tried to compile a program that uses exceptions. Compilation succeeds, but running the program causes a "Application Error" dialog to appear. It says "The application failed to initialize properly (0xc005). Click on OK to

Re: main.hs not compiling

2000-08-24 Thread Reuben Thomas
If I send a reply to the mail address you write from, it bounces back. Maybe you would have other mails bouncing too. What address is it? I've just tested [EMAIL PROTECTED] and [EMAIL PROTECTED], and they work fine. Anyway, can I get in touch with the GHC developer working on Win98? Can he

Re: main.hs not compiling

2000-08-22 Thread Reuben Thomas
I have followed all the instructions mentioned in http://www.haskell.org/ghc to install Haskell compiler on a Win95 machine. After complete installation, I created the main.hs file containing the following : module Main(main) where main = putStrLn "Hello, world!" After this, I renamed the

Re: ghc on Win32

2000-08-09 Thread Reuben Thomas
I think this should be written in big red letters in the installation instructions at http://www.dcs.gla.ac.uk/~sof/ghc-win32.html This page is rather out of date, which is why it's not linked to any more. The installation instructions are in the user manual, and directly linked to from

Re: Problem compiling GHC 4.08

2000-08-03 Thread Reuben Thomas
You need to set SRC_HAPPY_OPTS=-a -g -c so that the parser is smaller and easier to compile (otherwise it needs a ridiculous amount of memory). -- http://sc3d.org/rrt/ | plagiarism, n. the mind burgles

Re: green-card in fptools-4.08

2000-07-17 Thread Reuben Thomas
What version of ghc are you using to build GreenCard? It works fine for me, building from CVS sources with ghc 4.08. -- http://sc3d.org/rrt/ | plagiarism, n. the mind burgles

Re: Addition to Position of p_hi-files for Profiling under Windo

2000-07-06 Thread Reuben Thomas
I just gave up with compiling for profiling because the ld complained: "cannot open -lHSlang_p_imp: No such file or directory". Any solution available? The profiling libraries can only be used statically, so you have to use -static. -- http://sc3d.org/rrt/ | Maximiste, n. pessimiste

InstallShield for GHC 4.07

2000-06-26 Thread Reuben Thomas
There's a preliminary InstallShield for GHC 4.07 at http://www.haskell.org/ghc/dist/4.07/ghc-4-07.exe Please play! -- http://sc3d.org/rrt/ | wit, n. educated insolence (Aristotle)

Re: cygwin32 compile

2000-05-30 Thread Reuben Thomas
4.06 doesn't compile under Cygwin. 4.07 (out RSN) will. In the meantime, the newest version is 4.05 (binaries only, I think). -- http://sc3d.org/rrt/ | plagiarism, n. the mind burgles

Re: set up blues

2000-03-22 Thread Reuben Thomas
Does a GHC 4.06 exist for Windows NT? The binary distribution says 4.05. When the setup program has completed the task, where do I find the GHC compiler? I see a hsc.exe but not GHC.exe. A sample program points to a GHC to test the setup. The compiler driver is called ghc-4.05, not ghc

RE: gmp configure (fwd)

2000-03-15 Thread Reuben Thomas
it. -- Forwarded message -- Date: Tue, 14 Mar 2000 10:44:07 -0800 From: Sigbjorn Finne [EMAIL PROTECTED] To: 'Reuben Thomas' [EMAIL PROTECTED] Subject: RE: gmp configure I guess you're running a more recent version of autoconf than me (2.12), which is a little bit more paranoid than it needs

Re: Wish List (Re: False warning about overlapping patterns)

2000-02-06 Thread Reuben Thomas
http://www.informatik.uni-muenchen.de/haskell-wish-list/ Could somebody please update the link on haskell.org? Done. -- http://sc3d.org/rrt/ | certain, a. insufficiently analysed