Hello, > I am trying to pass to the CIL executable (cilly.asm.exe) the following > new command line parameters that will be "routed" by main.ml to my CIL > module: --myArg myString > What is the best way of implementing this?
As you found in the documentation, you should use: > fd_extraopt : (string * Arg.spec * string) list ; > However, I noticed that the Perl cilly driver transforms the command line > parameter list it passes to the CIL executable. I don't understand what bothers you exactly, but you shouldn't be concerned about the cilly script at all: it's black magic that "does the right thing" (most of the time). In your case, it should pass --myArg myString from the cilly script to cilly.asm.exe as expected. Did you try with fd_extraopt before diving into cilly.pm? What happened? Kindest regards, -- Gabriel ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users