[Gtk-sharp-list] FAQ hits the website
Charles Iliya Krempeaux
05 Jan 2003 19:43:20 -0800
On Sun, 2003-01-05 at 13:25, Mike Kestner wrote:
> I have put my 'leet web hacker skillz to work to produce a FAQ for Gtk#.
> I'm open for suggestions as to format or content.
There's some other things I can think of adding to the FAQ:
Q: How do I compile a Gtk# program on Linux?
A: You can compile a Gtk# program, on Linux, using
either Mono or Portable.NET.
Using Mono, you can compile it using:
mcs Program.cs -r gtk-sharp.dll -r glib-sharp.dll
Using Portable.NET, you can compile it using:
cscc Program.cs -lgtk-sharp -lglib-sharp
Q: How do I run my Gtk# program on Linux?
A: You can run Gtk# programs from the command
line using various tools. Mono provides
two tools for doing this. And Portable.NET
Using the Mono JITer, you can run it with:
Using the Mono Interpreter, you can run it with:
Using Portable.NET, you can run it with:
(Of course, your program will likely be called something
besides "program.exe"; so replace "program.exe" with
whatever your program is called.)
Charles Iliya Krempeaux, BSc
Reptile Consulting & Services 604-REPTILE http://www.reptile.ca/