[Mono-list] missing "native feel" ?
Jonathan Stowe
jns@gellyfish.com
Fri, 16 Jul 2004 15:48:54 +0100
On Fri, 2004-07-16 at 14:54, Niel Bornstein wrote:
> 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).
>
I'm sure the developers would be most grateful for your patch ;)
/J\