linking problems after switching from GHC5 to GHC6

Sven Panne Sven.Panne at
Fri Jan 30 17:28:34 EST 2004

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...


More information about the Glasgow-haskell-users mailing list