Hi,
this is a known one - it's fixed in the repository version,
which I've attached to this msg.
hth
--sigbjorn
> Michael Weber [mailto:[EMAIL PROTECTED]] writes:
>
> Hi!
>
> Consider this:
>
> \begin{code}
> import Random
>
> main = do r <- randomRIO (6.0::Double,7.0::Double)
>
> When compiling on a site which has more than one gcc
> installed, this might
> help:
>
>
> --- aclocal.m4.orig Mon Jun 7 11:32:23 1999
> +++ aclocal.m4 Mon Jun 7 11:33:04 1999
> @@ -291,7 +291,7 @@
> [AC_CACHE_CHECK([how to invoke GNU cpp directly], fptools_cv_gnu_cpp,
> [if test "$
In message <8B57882C41A0D1118F7100805F9F68B50C44A902@RED-MSG-45>, Simon Marlow
writes:
>
>> Given that I didn't compile this (I downloaded the binaries
>> from the GHC
>> site), I'm not sure how my version of gcc is relevant.
>>
>> Doesn't this version of ghc go to assembly?
>
>No, it goes via
Hi!
When compiling on a site which has more than one gcc installed, this might
help:
--- aclocal.m4.orig Mon Jun 7 11:32:23 1999
+++ aclocal.m4 Mon Jun 7 11:33:04 1999
@@ -291,7 +291,7 @@
[AC_CACHE_CHECK([how to invoke GNU cpp directly], fptools_cv_gnu_cpp,
[if test "$HaveGcc" = "YES";
> Just ran it with 2.8.1; crashes _sooner_. Much sooner. Like before
> anything else happens. You want me to send output again?
This is because of a bug in GHC 4.02 (I mentioned in my earlier message that
if you want to use 2.8.1 you need a more recent version of GHC). 2.7.2
should work.
Ch
Hi!
Consider this:
\begin{code}
import Random
main = do r <- randomRIO (6.0::Double,7.0::Double)
putStrLn $ "Got " ++ (show r)
getChar
main
\end{code}
The output is in the interval [6.0..7.0], as expected.
Now take
\begin{code}
import Random
main = do r <
Hello!
I got an error compiling my program with ghc-4.02 and ghc-4.03 (-O option)
(files error#ghc-4.02-O and error#ghc-4.03-O)
I tried compiling with ghc-4.03 without the -O option, but it did'nt help
(file error#ghc-4.03)
I would be glad if You could give me a hint how to compile it anyway.
I s
In message <8B57882C41A0D1118F7100805F9F68B50C44A904@RED-MSG-45>, Simon Marlow
writes:
>
>> Just ran it with 2.8.1; crashes _sooner_. Much sooner. Like before
>> anything else happens. You want me to send output again?
>
>This is because of a bug in GHC 4.02 (I mentioned in my earlier message
In message <8B57882C41A0D1118F7100805F9F68B50C44A8FB@RED-MSG-45>, Simon Marlow
writes:
>> Note that I'm barely able to write Haskell at all, so this may not be
>> very good. All that's required to generate the bug is to run with no
>> args. Or any args. Whatever. It does _NOT_ appear to be a
> Given that I didn't compile this (I downloaded the binaries
> from the GHC
> site), I'm not sure how my version of gcc is relevant.
>
> Doesn't this version of ghc go to assembly?
No, it goes via C I'm afraid. Our native code generator is in a state of
disrepair at the moment.
Cheers,
10 matches
Mail list logo