> 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
> 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).
> 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
> 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
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
> 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
> 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
> > 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
>
> 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
> 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
> 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
> 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
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
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
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
[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
> 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 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
> 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
> 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
> 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
> 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
> 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
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
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
> 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
> (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
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
> 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
> 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
> 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
> 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
> 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.
> 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
> 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
> 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
> 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 renam
> 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
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)
> > 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
> 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
> 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
> 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
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
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
> 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
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
>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
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
54 matches
Mail list logo