[Mono-list] Some ideas for dotgnu.
Juli Mallett
jmallett@FreeBSD.org
Wed, 22 Jan 2003 18:30:03 -0800
* De: Pokey the Penguin <pokey@linuxmail.org> [ Data: 2003-01-22 ]
[ Subjecte: Re: [Mono-list] Some ideas for dotgnu. ]
> On Wed, 2003-01-22 at 16:40, Erik Bågfors wrote:
> > The compiler has a few nice options.
> >
> > -gtk Link against the Gtk# libraries
> > -gnome Link against the Gnome# libraries
>
> These switches don't really belong in the compiler. The compiler is
> potentially for use in any environment (Win32, MacOS X) so favouritism
> doesn't make sense.
There are very few cases deserving of special attention by the compiler.
All of those cases are when the compiler may know better than any build
system or user e.g. gcc -pthread.
> > ilrun also has a few nice arguments.
> > ilrun --register Registers ilrun in the linux kernel so you just
> > can run the executable without typing ilrun
> >
> > this can also be used to register mono
> > ilrun --register /usr/bin/mono
>
> This is a good idea, but it should not be implemented at the runtime
> level. Every distribution handles BINFMT_MISC registration in a
> different way; for example, Debian uses the binfmt-support registry
> system and the Mono Debian packages register with it to achieve the same
> effect more elegantly.
Agreed. It's an installation / packaging implementation detail. Not to
mention some things don't even do binfmt_misc or similar, and we have enough
problem with people doing portable build, etc., systems involving these
things without having people forget to put ${RUNTIME} or similar before
a .exe :)
--
Juli Mallett <jmallett@FreeBSD.org>
AIM: BSDFlata -- IRC: juli on EFnet.
OpenDarwin, Mono, FreeBSD Developer.
ircd-hybrid Developer, EFnet addict.
FreeBSD on MIPS-Anything on FreeBSD.