[Mono-list] We need Linux.NET Stub
Jonathan Stowe
jns@gellyfish.com
Wed, 26 May 2004 09:43:23 +0100
On Wed, 2004-05-26 at 09:21, Martin Olsson wrote:
> This is the same thing that's given in the FAQ but I dont need this. I
> cannot possibly rely on this at the end-user, what if their kernel does
> not have support for it? Should I recompile their kernel in the
> installation program? Seems insane. Also the problems with Wine.
>
> As I said below, what I would like to use it a pure native Linux stub
> instead. Would not that be rather easy to create? Anyone tried?
>
Whats the problem with simply using a shell script wrapper like the one
that is provided for 'mcs' and the other utilities? a generic form would
be:
#!/bin/sh
exec /usr/local/bin/mono $0.exe "$@"
You would give it the same name (without the .exe) as your assembly and
place it with executable permissions in the same directory somewhere in
your path.
/J\
>
> Regards,
> /m
>
> Fredrik Hedberg wrote:
> > http://www.osnews.com/story.php?news_id=6795
> >
> > 2nd tip
> >
> > /Fredrik
> >
> > On Tue, 2004-05-25 at 15:50, Martin Olsson wrote:
> >
> >>Hi Mono-guys,
> >>
> >>I saw in the FAQ that mono apps are called using "mono hello.exe" but in
> >>Windows you can run them directly because the hello.exe program is
> >>essentially just a stub that kicks the interpreter going.
> >>
> >>Now, I read in the FAQ that there is a hack which avoids the "mono
> >>hello.exe" problem but do you guys have any plans to implement real
> >>Linux/MacOS/HP-UX stubs? They would be basically the same as the Win dows
> >>.NET .exe files but they would be native to their respective system.
> >>
> >>Is anyone working on that?
> >>
> >>
> >>
> >>Regards,
> >>/m
> >>
> >>_______________________________________________
> >>Mono-list maillist - Mono-list@lists.ximian.com
> >>http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list