Problem with the object file name of the Main module.

Carter Schonwald carter.schonwald at gmail.com
Sun Jan 12 16:23:12 UTC 2014


Christian, have you tried using cabal? People write cabal files with
multiple executables being generated all the time.

On Sunday, January 12, 2014, Christian Brolin wrote:

> H.
>
> The documentation (version 7.6.3) section 7.7.2 Output files says that the
> source file name of the Main module does not have to be Main.hs making it
> "possible to have several Main modules in separate source files in the same
> directory". While this is true and promising it is seems to be unusable
> since GHC always compiles the main source file into an object file called
> Main.o.
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20140112/5b299e70/attachment.html>


More information about the Glasgow-haskell-users mailing list