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 direc

Re: GHC-5.02/Win32: problems compiling with -prof and -package

2001-10-13 Thread Reuben Thomas
> Nothing deep going on, the profiling interface files for the 'util' > package are simply just missing from the 5.02 distribution. Sorry, I'll fix that next week in a new InstallShield release (together with the other Win32-specific problems reported with 5.02 so far).

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

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. I

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 down

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

Re: Path Issues on Windows 2000

2001-09-26 Thread Reuben Thomas
> I just succesfully installed GHC 5.02 on Windows 2000, and it (basically) > worked. > > However, I have run in to a couple of issues: > > 1 (minor). The last dialog box of the Installer recommended adding "\bin" to my > PATH. This should have been "C:\Program Files\Glasgow Haskell > Compiler

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 >

Re: NEw Install Shield "Borage Thungg" working on win 2000

2001-09-17 Thread Reuben Thomas
> The ghc now works on my machine,running win2000. But I face a problem now > using my old ghc files that I compiled on my unix machine. I have to > recompile them. Yet,ghc will only work at the bin directory, and does not > work on the other directories. I am not quite sure what you mean "ghc w

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 C:/TE

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 fixe

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-cy

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 curren

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

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 te

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. underp

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

New GHC InstallShield: mingwin problem fixed

2001-02-21 Thread Reuben Thomas
I have just uploaded a new GHC InstallShield. It fixes the recent problem with needing a particular version of the mingw package. Unfortunately the situation here is still unstable (roll on Cygwin 1.2), so it may break again, but it seems to work for now. -- http://sc3d.org/rrt/ | certain, a. i

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 Cy

Re: Message: "DEFAULT_TMPDIR has not been set to anything useful!"

2001-02-13 Thread Reuben Thomas
> After installing the newest version of GHC on WinNT/Cygwin, I get the message > > "DEFAULT_TMPDIR has not been set to anything useful!" > > when executing GHC (however, compilation is ok.) > > Setting DEFAULT_TMPDIR to "c:/tmp" didn't change anything. What may be wrong with my >settings? Thi

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 ru

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: 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 e

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] http://www.haskell.org/mailman/listinfo/gla

Re: GHC 4.08 vs Cygwin 1.1.7 ??

2001-01-28 Thread Reuben Thomas
I think I dealt with this message, which seems to have only just been flushed from some recess where it's been hiding since it was posted. -- http://sc3d.org/rrt/ | Caution Children At Play Drive Slowly ___ Glasgow-haskell-bugs mailing list [EMAIL PR

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 mai

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.cp

RE: Re: cygwin compile failure

2001-01-19 Thread Reuben Thomas
I'm afraid that the head doesn't currently build on Windows; I'm working on this at the moment. There have just been breaking changes, of which the point at which your make failed is one. If you check out the source from about a fortnight ago it's much more likely to work, as I had it building fin

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 ./c

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 ___ Glasg

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 whe

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 sh

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: > ftp://ftp.cse.unsw.edu.au/pub/users/chak/jibunmaki/i386/ghc-4.08.

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 termi

Re: libHSnet_imp.a missing? + missing link on Haskell pages

2000-11-06 Thread Reuben Thomas
> I just installed the Win 95/NT install-shield version of GHC 4.08.1 today > from www.haskell.org, but I can't compile any sources using the 'net' > library. The linker returns with the following error: Sorry, I appear indeed to have omitted the net libraries from the package. How embarrassing

Re: Profiling for WinNT missing in ghc-4.08.1

2000-09-06 Thread Reuben Thomas
> I just installed the ghc-4.08.1 but the profiling doesn't work. I > expected that because when I checked the Box for Profiling it said 0k > is needed. Profiling is disabled in the Windows 4.08.1 release because, although it seems to work, it produces weird intermittent crashes. I'm going to loo

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 renam

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

GHC 4.08: autoconf required for source build

2000-07-26 Thread Reuben Thomas
At the moment you need autoconf to build ghc 4.08 from source, because we omitted gmp's configure file from the source distribution. This will be fixed in 4.08pl1. -- http://sc3d.org/rrt/ | wit, n. educated insolence (Aristotle)

Re: ghc-4.08 on WinNT and cygwinb20

2000-07-25 Thread Reuben Thomas
> > TMPDIR=/tmp; export TMPDIR; ( echo ; /WINNT/system32/find Array CPUTime Char > > Somehow, you've found the wrong find. In cygwin, type "type find", and put > the result as the value of "FIND" in fptools/mk/config.mk. I think the > search for find needs updating. To be exact, you haven't got

Re: ghc-4.08 on WinNT and cygwinb20

2000-07-25 Thread Reuben Thomas
> TMPDIR=/tmp; export TMPDIR; ( echo ; /WINNT/system32/find Array CPUTime Char Somehow, you've found the wrong find. In cygwin, type "type find", and put the result as the value of "FIND" in fptools/mk/config.mk. I think the search for find needs updating. -- http://sc3d.org/rrt/ | wit, n. ed

Re: GHC 4.08 profiling problem: ld reports "undefined reference to`timeBeginPeriod'"

2000-07-21 Thread Reuben Thomas
> I have tried (unsuccessfully, obviously :) ) to get profiling to work under > GHC 4.08 for Win32. As the sesion captures below the sig show, even the > suggested example from the manual doesn't work. Thanks for doing this so carefully. It looks as though you've done everything right, and one

Re: ghc 4.08 under WinNT

2000-07-20 Thread Reuben Thomas
> does not exist > Action: openFile > Reason: file does not exist /tmp/ghc1017.cpp This sounds like a problem with cpp. Check by adding -v to your ghc flags. Is ghc finding cpp correctly? (Have you upgraded Cygwin?). If not, check your PATH and TMPDIR variables, and read the win32 FAQ in the ins

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

4.08 InstallShield update

2000-07-07 Thread Reuben Thomas
The profiling imports were in the wrong place in the InstallShield for 4.08 (now fixed). If you've been bitten and don't fancy re-downloading, then just move the contents of \ghc\ghc-4.08\imports into \ghc\ghc-4.08\lib\imports, and all should be fine. -- http://sc3d.org/rrt/ | wit, n. educated

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
ow 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 bi

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

DocBook script problems

2000-01-26 Thread Reuben Thomas
Exec summary: Don't expect to be able to build the GHC docs unless you use the Cygnus version of the DocBook tools. Full gore version, enlivened with extra diatribe: Some users have reported problems building the new-style DocBook documentation. This seems to occur when the SuSE DocBook tools a