This is a 6.x bug; I fixed it in HEAD a while back, http://haskell.org/pipermail/cvs-ghc/2003-October/018991.html but the change wasn't merged for some reason. --sigbjorn ----- Original Message ----- From: "Sven Panne" <Sven.Panne@aedion.de> To: "Volker Wysk" <post@volker-wysk.de> Cc: <glasgow-haskell-users@haskell.org> Sent: Friday, January 30, 2004 08:28 Subject: Re: linking problems after switching from GHC5 to GHC6
Volker Wysk wrote:
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. [...]
Hmmm, it looks like GHC is reversing the order of files in the linking step. Mentioning liba.a *before* Main.o in the linking step is a workaround...
Cheers, S.
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users