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 GHC uses Windows's system(), which always uses cmd.exe (or 
command.com) to execute the command line (it doesn't check the setting of 
SHELL). Perhaps the Hugs one adds that functionality back in. You need to 
use

system $ [ba]sh -c grep -E  ...

-- 
http://sc3d.org/rrt/ | The only person worth beating is yourself

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 contained in

http://www.galconn.com/~sof/HSwin32.zip

If your libHSwin32.a is built by and against 5.02, I'll just include it in
my InstallShield tree and update.

Unfortunately owing to limited disc space, I haven't been keeping as many
trees around as I would have liked. However, I think I have a solution, so
I should have a clean-built version soon.

 (The cause of it all is that libHSwin32.a lacks a pair of _stub.c files
 which contains the code that takes care of the window/dialogue
 callbacks into Haskell).

Yes, I'm not at all clear on how that happened. Was that just before a fix
you made to do with that? I notice that when I build libHSwin32.a now, I
get an error because two non-existent directories get added to the link
line, corresponding to those two _stub.c files. But the library builds
properly anyway. Or at least, the given example works.


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 has now been fixed, but only yesterday (as per the announcement I
made then).

If the latest InstallShield still doesn't work on Win'98 for this or
another reason, I'd like to know ASAP!

-- 
http://sc3d.org/rrt/ | Travail broadens the behind

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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.

You're not doing anything wrong, but I think I am: the version of gcc
packaged with GHC won't work on Win'98; this is a well-known problem,
but I think I've failed to fix it in the distribution. I award myself
forty lashes, and assuming I can still work the computer afterwards,
I'll fix it and upload a new InstallShield shortly.

Your best bet is probably to wait for this.

-- 
http://sc3d.org/rrt/ | Travail broadens the behind

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 download the mingw-1.0.1 snapshot from
www.mingw.org, find gcc.exe, and copy it over C:\Program Files\Glasgow
Haskell Compiler\ghc-5.02\gcc.exe (or wherever you put GHC). Still
rather larger than the actual file needed, but a lot smaller than the
GHC InstallShield.

-- 
http://sc3d.org/rrt/ | impatience, n.  the urge to do nothing

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 when I am in the bin directory. So, is there an alternative to
 resolve this problem?

What error message do you get when you try to compile elsewhere?

-- 
http://sc3d.org/rrt/ | The only person worth beating is yourself

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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:/TEMP/ghc1644.s


Like it says in the instructions, you have to have C:\TEMP. Sorry; this is
hardwired at the moment.

 GHC should use %TEMP (or better, the Win32 GetTempPath() API call) to save
 intermediate files.

That sounds like a good idea. I'll look into it. Despite being the Windows
maintainer, I'm not a Win32 expert.

-- 
http://sc3d.org/rrt/ | aphorism, n.  a wise lie


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 this by replacing gcc.exe in
 your distribution with one from the latest mingw32 standalone release on
 Sourceforge.  Better, of course, to replace the whole lot with the latest
 release.

Thanks, I'll do that for the 5.02 release.

 BUG 2: Under Windows 98 Sigbjorn's example Win32 hello world program
 displays but then hangs when the window close icon is clicked.  Works OK
 under NT, and can be closed under Windows 98 by ^C in the terminal window.

 NOFIX 2: Unfortunately I haven't got around to working on this one yet.

FIX 2: Upgrade to Win2K or XP (or better, Linux, even though this would put
me out of a job!). Unfortunately, we don't have Win98 around here, and
getting things working in the (relatively sane) Win2K environment is bad
enough. I'll be delighted to implement any solution up with which you come.

-- 
http://sc3d.org/rrt/ | impatience, n.  the urge to do nothing


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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.

 Commenting out the contents of that file seems to cause no problems so I
 infer that the file is no longer required for Greencard and can be removed
 from the repository.

You can see from the comment at the top of the file that this file is just
prettying up the default error output of GHC's RTS, so it's not needed, but
equally needn't be removed.

 Also, the file had a line:

 #if __GLASGOW_HASKELL__ = 303

 which seems to evaluate to false under GHC 5.01 (Win32), so I assume that
 this macro is no-longer defined or is incorrectly set wherever such things
 are defined in ghc.

I think the problem is that the file is getting compiled directly with gcc,
and doesn't therefore have __GLASGOW_HASKELL__ defined. __GLASGOW_HASKELL__
is definitely 501 with the latest InstallShield compiler.

-- 
http://sc3d.org/rrt/ | violence, n.  bravery for cowards


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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
version; 2.95.2-9 is only a test version), which is what *should* have come
up by default in the Cygwin installer (did for me yesterday, at any rate).

-- 
http://sc3d.org/rrt/ | maxim, n.  wisdom for fools


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 the GHC
5.0 release.

-- 
http://sc3d.org/rrt/ | humour, n.  unexpected recognition


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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



___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 test data for which it failed?

[Sigbjorn has since sent me such data, which still work fine for me.]

-Original Message-
From: T.J. Brown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 11:06 PM
To: [EMAIL PROTECTED]
Subject: Segmentation fault in program


Hi,

I'm trying to write a program (in C) that calls a
function that is implemented in Haskell.  The inputs
to the function is: a pointer to a buffer of unsigned
longs, the length of the input buffer, and a pointer
to a buffer of unsigned chars.  The function is to
convert the buffer of unsigned longs into a [Word32],
then convert that list into [Word8] (there will be
some sort of processing on this list eventually) and
then copy it to the output buffer.  I'm using
HaskellDirect to assist with this interface between C
and Haskell.  The problem I'm seeing is that depending
on the size of the buffer, the program segmentation
faults.  I don't see any obvious reason that this is
happening so I'm wondering if something isn't going
wrong during the compilation.

System info:
linux 2.2.12-20
gcc version: egcs-2.91.66

Attached are the source files and the compile output.

Also, is there a better way of passing a buffer
between C and Haskell?  For instance, is there a way
to convert the buffer into a list automatically?

Thanks for your help,
T.J.

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 lie



___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 Cygwin system up properly. gcc is not finding the standard
includes. Try compiling C hello world first.

-- 
http://sc3d.org/rrt/
"In 1727, Helen Morrison, a lonely spinster, became the first woman to
place a Lonely Hearts advertisement. It appeared in the Manchester Weekly
Journal. The mayor promptly committed her to a lunatic asylum for four
weeks." - The People's Almanac #2


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 into the
 "Funny global thing?" message before.

This is because Cygwin's GCC recently changed its use of whitespace (I think
it added a space to the end of every line) and broke our mangler (our fault,
it was too sensitive; we've changed it). Exec summary: you need 4.08.2.

 But without -O, it seems okay:

That's because it then uses the native code generator, not GCC.

-- 
http://sc3d.org/rrt/ | wit, n.  educated insolence (Aristotle)


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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/glasgow-haskell-bugs



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 est de transformer en beauts les faiblesses (Aragon)


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/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
   Main.hs\": unexpected EOF while looking for `''
   Main.hs\": -c: line 2: syntax error
   deleting... C:/TEMP/ghc607133.cpp

This sounds like the wrong version of Perl is being used. Make sure the one
being used is that in GHC's bin directory. Also that /bin/sh is bash.

-- 
http://sc3d.org/rrt/ | free, a.  already paid for (Peyton Jones)


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 find the installed compiler. (The
command lines starting with "M" which give "M not found" errors should start
/some/path/ghc -M.)

-- 
http://sc3d.org/rrt/ | RSA, n.  safety in numbers


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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

./configure --host=i386-unknown-mingw32

This is (or should be) in the building guide.

-- 
http://sc3d.org/rrt/
"In 1727, Helen Morrison, a lonely spinster, became the first woman to
place a Lonely Hearts advertisement. It appeared in the Manchester Weekly
Journal. The mayor promptly committed her to a lunatic asylum for four
weeks." - The People's Almanac #2


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 already be OK; please shout if they aten't).

-- 
http://sc3d.org/rrt/ | competent, a.  underpromoted


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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.1-2.i386.rpm

Fixed. Thanks!

-- 
http://sc3d.org/rrt/ | plagiarism, n.  the mind burgles



___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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 terminate the 
 application.". Here is the Haskell program:
 
 --
 module Main(main) where
 
 import Exception
 
 main = catchAllIO (putStrLn (head ([] :: [String])))
(\e - putStrLn "hi" )
 
 --
 
 Compiled it with
 
 ghc-4.08.1 -i/apps/ghc/lib/imports/lang -syslib lang Main.hs

This should be OK, but as Christian Lescher says, you can just say "-package
lang" rather than all the gumph you have.

The error message looks like a fairly typical Windows RTS problem. It could
be that I just missed something in my recent round of fixes. I'm afraid I'm
away at a DevLab in Redmond at the moment, so I'll check it next week when I
return. The only thing I can suggest for now is to reinstall GHC unless you
really have *just* installed it; I updated the InstallShield on about
November 6th.

-- 
http://sc3d.org/rrt/ | competent, a.  underpromoted


___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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
 solve the issue I am having?

Sven Panne you'll see on the Haskell mailing list; I don't have his email
address to hand.

-- 
http://sc3d.org/rrt/ | violence, n.  bravery for cowards






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 file ghc-4.08 to ghc-408.exe and ran it with the following 
command :
 ghc-408 -o main main.hs.

Renaming ghc-4.08 to ghc-408.exe is a mistake, since it is a Perl script,
not an exe. What happens when you don't rename it?

-- 
http://sc3d.org/rrt/
L'art des vers est de transformer en beautés les faiblesses (Aragon)





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 the GHC documentation page. I'll link to them from the
download page too.

I think I've fixed the TMPDIR problem, and this will be included with the
4.08.1 release (with better documentation, I hope (hope in the sense that
I hope it will be better; I'll definitely make changes)).

-- 
http://sc3d.org/rrt/ | free, a.  already paid for





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 (admittedly this is a bit
silly). You can just copy it or make a link to it called ghc.

 Can you point me to update information or a source where I can
 properly install GHC 4.06? I've tried the "fptools" pack but it seems
 a bit confusing...one message states the the "happy-inplace" cannot be
 found...Has anyone experience this problem? I need a clear step by
 step "cook book" approach to installing and running the haskell
 compiler on windows NT.  Can you be of any assistance?

At the moment 4.06 doesn't (AFAIK) build on Windows NT (at least, it's OK
under cygwin, but not under mingwin; in addition, the build system is
slightly broken). I'm working on it, to get a new Windows build together;
unfortunately, major changes since 4.05 have led to a certain amount of
bit-rot with respect to the Windows version. You should probably stick to
4.05 for now.

-- 
http://sc3d.org/rrt/ | certain, a.  insufficiently analysed






RE: gmp configure (fwd)

2000-03-15 Thread Reuben Thomas

I already came across this, and Sigbjørn sent me a fix, which should soon
be in CVS. Just in case it's not, it follows below. I found that I also
needed to change rts/gmp/configure.in so that the first call to AC_INIT
occurred after the setting of the three variables just below 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 to be. I believe
you can fix it as follows:

* change rts/Makefile to instead pass --host=$(HOSTPLATFORM)
  to gmp/ when booting.
* add a section to gmp/configure.in

# per-host:
case "${host}" in
   *-*-mingw32)
 CFLAGS="-mno-cygwin -O"
   ;;
esac

--sigbjorn




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