On Sat, Aug 07, 1999 at 16:21:47 +0200, Matthias Kilian wrote:
> - I tried to compile ghc and it's libraries using gcc -fno-strict-aliasing
> (since this may be a problem), but it doesn't help, so you don't have to try
> this options to find the error.
so did I...
||/ Name Version Description
+++-===============-==============-============================================
ii gcc 2.95.1-0pre2 The GNU C compiler.
ii libc6 2.1.2-0pre7 GNU C Library: Shared libraries and timezone
ii libgmp2 2.0.2-3 Multiprecision arithmetic library
ii libgmp2-dev 2.0.2-3 Multiprecision arithmetic library developers
> Here is the example program, which consists of three modules, Primes, Hamming
> and HammingMain:
[Hamming removed]
The whole thing boils down to:
\begin{code}
module Main (main) where
main :: IO ()
main = if 1*2 == 0 then putStrLn "GHC(GCC 2.95) can't multiply, eh?"
else putStrLn "not reached"
\end{code}
Strange, isn't it?
BTW: (+),(-),(/) work nevertheless...
Cheers,
Michael
--
"Don't worry about people stealing your ideas. If your ideas are any
good, you'll have to ram them down people's throats."
-- Howard Aiken