smart relinking bug

Bulat Ziganshin bulat.ziganshin at gmail.com
Sat Oct 21 13:06:42 EDT 2006


Hello Lemmih,

Saturday, October 21, 2006, 8:11:02 PM, you wrote:

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

> Did you mean a.o instead of a.c?

if a.c changes then first line will recompile it and change a.o too :)
for '--make' command a.o will be changed and main.hs remains old




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




More information about the Glasgow-haskell-bugs mailing list