Default name of target executable

Simon Marlow simonmar at microsoft.com
Tue Oct 11 04:49:38 EDT 2005


On 11 October 2005 06:29, Tomasz Zielonka wrote:

> On 10/10/05, Simon Marlow <simonmar at microsoft.com> wrote:
>> There's no really deep reason for this choice, other than it being
>> what GHC does normally - i.e. the default binary has always been
>> a.out (main.exe on Windows) unless -o is given.
>> 
>> I don't see enough of a compelling reason to change it, sorry.  It's
>> not broken, just slightly inconvenient.
> 
> It wasn't meant to be a bug report, only a feature request ;-)
> 
> Actually, I was mostly interested if anyone would mind if GHC
> chose the name based on the top-level module.
> 
> Would you accept the patch?

I'm slightly inclined not to make this change, but I could be swayed if
there was enough interest in it.  What I'm seeing so far is not
overwhelming support for the change.  Simon PJ is in favour, though.

You can always use Cabal, BTW :)

Anyone else?

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list