[m-users.] Adding a command line option

Julien Fischer jfischer at opturion.com
Mon Jul 29 11:38:55 AEST 2013


On Sat, 27 Jul 2013, Mark Green wrote:

> What's the easiest way to add a new command line option to mmc? I have
> been trying to deal with my Erlang build problem by modifying
> compile_target_code.m to pass full paths to erlc, but I would like to
> make this behavior optional and I cannot find the part of the code
> that converts from strings on the command line to atoms that are
> looked up via lookup_bool_option.

If badly formed paths are being passed to the Erlang compiler then
passing the correct ones should not be optional.  It's possible that
compile_target_code.m needs to modify the paths for erlc on Windows
depending on what the setting of --host-env-type is.  (We do soemthing
similar for the csharp grade.)

Where (and how) exactly is your Erlang build going wrong?


More information about the users mailing list