smart relinking bug

Bulat Ziganshin bulat.ziganshin at gmail.com
Sat Oct 21 04:37:16 EDT 2006


Hello Simon,

ghc 6.6 includes smart relinking capability which don't relink exe
file if it already exists and .hs source files was not changed. that's
great but ignores other .o files that can be also linked to program,
for example those that was compiled from C sources:

gcc -c -o a.o a.c
ghc --make Main.hs a.o

this command incorrectly don't relinks executable if a.c was changed
but Main.hs wasn't  

-- 
Best regards,
 Bulat                          mailto:Bulat.Ziganshin at gmail.com




More information about the Glasgow-haskell-bugs mailing list