[Mono-list] missing "native feel" ?
Niel Bornstein
nbornstein@gmail.com
Fri, 16 Jul 2004 09:54:57 -0400
On Fri, 16 Jul 2004 10:35:34 +0100, Jonathan Stowe <jns@gellyfish.com> wrote:
> Rename this to the same as your .exe file (but without the extension)
> and put it in the same directory:
>
> #!/bin/sh exec /usr/local/bin/mono $0.exe "$@"
Why not have an option on mcs to have the mcs wrapper create an
.exe-specific wrapper? The unix mcs script could create a unix shell
script, and the windows mcs.bat could create a batch file.
So:
mcs -target:exe MyClass.cs -out:MyProgram.exe -wrap
would create MyProgram.exe and MyProgram shell script (or MyProgram.bat).
Niel