Hi
I've put together a minimal program which reproduces the problem. Save the
three attachments in a new directroy and type "make". I'ts just as
described earlier. The trivial program compiles with GHC5, but not GHC6.
It's all on a Linux-Debian box.
bye,
V.W.
--
Volker Wysk <[EMAIL PROTECTED]>
http://www.volker-wysk.de
module A where
a = putStrLn "hallo"
import A
main = a
#HC = /usr/lib/ghc-5.04.2/bin/ghc-5.04.2
HC = /usr/lib/ghc-6.2/bin/ghc-6.2
0 : Main
A.o : A.hs
Main.o : Main.hs A.hi
%.o : %.hs
$(HC) -c -o $@ $<
%.hi : %.o
@:
Main : Main.o liba.a
$(HC) -o $@ $^
liba.a : A.o
ar cqs $@ $^
clean :
rm -f *.o *.hi *~ liba.a Main
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users