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
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
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
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.
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
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
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
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
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.
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
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
[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.
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
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
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
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
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
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]
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
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
(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
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
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
___
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
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
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:
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
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
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
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
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
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
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
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)
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
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
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
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
38 matches
Mail list logo