[Mono-list] Some ideas for dotgnu.

Simon Waite simon@psionics.demon.co.uk
Sat, 25 Jan 2003 15:21:04 -0000


----- Original Message -----
From: "Michael Meeks" <michael@ximian.com>
To: "Erik Bågfors" <erik@bagfors.nu>
Cc: "Mono List" <mono-list@ximian.com>
Sent: Saturday, January 25, 2003 2:28 PM
Subject: Re: [Mono-list] Some ideas for dotgnu.


>
> On Wed, 2003-01-22 at 16:40, Erik Bgfors wrote:
> >   -gtk               Link against the Gtk# libraries
> >   -gnome             Link against the Gnome# libraries
>
> It would be nice if whatever the libraries are called (assemblies?) had
> dependency information of some sort; thus one could do simply:
>
> mcs -r gnome-sharp.dll foo.cs
>
> Instead of adding an unfeasibly verbose set of ~7 other libraries on
> that link line. Is that reasonable / feasible ?
>
> FWIW,
>
> Michael.
>

A generic form perhaps would be more useful like: -r @assemblies.file


mcs -r @gtk.list foo.cs


of course you'd still have to write out the list, but only once. This is
common though a number of compiler toolchains and utilities.

-S