Hello, I am having some annoying problems with the 6.x compilers: 6.4 and 6.4.1: When repeating a build (with ghc --make) all modules are rebuild even if nothing has changed. With earlier compilers, only linking takes place in this setting. Can I change this behaviour? I cannot develop this way. 6.2 and up: The object file is named after the module, not after the source file as in 5.04. As there are several main modules in my project, each in its own source file, all I get is a big mess. Any suggestions? Thank you, Michael
Hello Michael, Tuesday, November 22, 2005, 8:18:24 PM, you wrote: MM> 6.2 and up: The object file is named after the module, not after the MM> source file as in 5.04. As there are several main modules in my MM> project, each in its own source file, all I get is a big mess. Any MM> suggestions? you can give different module names to this modules and use -main-is option to specify main module in each compilation (see .../ghc/doc/html/users_guide/flag-reference.html) -- Best regards, Bulat mailto:bulatz@HotPOP.com
participants (2)
-
Bulat Ziganshin -
Michael Marte