Command Line Options

Hi, I’m new to IronRuby. I downloaded “IronRuby Alpha” and I am confused
about the command line options of ir.exe. If I do:

ir.exe -h

It does not even list the option -AI which is used by ir.cmd. Is there a
list of all the command line options somewhere? Is there a source code
file I should look into in IronRuby itself?


This option will be removed in the next release.

The file is Ruby\Hosting\RubyOptionsParser.cs


Thanks. I tried the -save option to create a DLL but it doesn’t seem to
be working?


cjac@dev0:/usr/src/svn/rubyforge/ironruby$ svn info
Path: trunk/src/ironruby/Hosting/RubyOptionsParser.cs
Name: RubyOptionsParser.cs
Repository Root:
Repository UUID: 35c07f8d-9825-4069-8e05-7d567adbdaa8
Revision: 138
Node Kind: file
Schedule: normal
Last Changed Author: jlam
Last Changed Rev: 135
Last Changed Date: 2008-08-19 20:34:58 +0000 (Tue, 19 Aug 2008)
Text Last Updated: 2008-08-26 20:20:34 +0000 (Tue, 26 Aug 2008)
Checksum: 39528db3319697c0e5c19deec70393c5

Right, precompilation is not supported yet. -save is an experimental


Yes, the -save option C.J. pointed to does create the DLL, but running
ildasm on it, there’s nothing in there. I’m guessing this is a feature
that isn’t supported yet and that I will have to write my own DLL
creation? If so, any hints on how to do this?