Severity: minor

On Le Friday 20 October 2006, à 14:56:13, Arjan Oosting wrote:
> [try 2 with log attached]
> 
> Hi Francois,
> 
> Op do, 19-10-2006 te 19:55 +0200, schreef francois:
> > I cannot compile some programms using `throwError` from
> > Control.Monad.Error.
> > 
> > The compiler give me a linker error.
> > 
> > I join a sample program, on Sarge wih ghc 6.2.2 it justs compile fine
> > but not on up-to-date Etch, the stderr log is attached too.
> 
> I tried to compile your sample program on etch and it worked just fine,
> see attached log.
> 
> Could you compile the sample program again with ghc --make -v and send
> the complete log of that?

Ok, I tried with `ghc --make` and it work. I cannot send the log now but
the main difference with `ghc` is a replacement of `-lHSmtl` by
`-lHShaskell98`
> *** Linker
> gcc -v -o a.out -DDONT_WANT_WIN32_DLL_SUPPORT 
> testException_bis.o -L/usr/lib/ghc-6.4.1 -lHSmtl -lHSbase
                                           ^^^^^^^ is '-lHShaskell98' when 
--make is not given to the command line
>-lHSbase_cbits -lHSrts -lm -lgmp -ldl -u GHCziBase_Izh_static_info -u 
>GHCziBase_Czh_static_info
>[...]

Indeed I am not sure that is a ghc bug more than a francois bug (or perhaps a
bug in the tutorial I read)

Thanks for the tip about '--make' and for having me to read the manpage.

Feel free to close the bug.

François

Reply via email to