Default name of target executable

Tomasz Zielonka tomasz.zielonka at gmail.com
Mon Oct 10 01:39:56 EDT 2005


Hello!

When I work on a program which is going to be named LongProgramName,
I usually put the Main module in file LongProgramName.hs. It would be nice
if I could build it with --make like this:

$ ghc --make LongProgramName

instead of

$ ghc --make LongProgramName -o LongProgramName

Does anyone rely on the first one producing a.out?

Because of this long syntax and comand-line completion I've even once
lost the source code. I forgot to remove the .hs at the end of line:

$ ghc --make Prog -o Prog.hs

Best regards
Tomasz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/glasgow-haskell-users/attachments/20051010/573c2f9f/attachment.htm


More information about the Glasgow-haskell-users mailing list