Revision b575816c9570834927b965af663aeabb9bd9aea6 authored by weis on 04 December 2006, 17:56:11 UTC, committed by weis on 04 December 2006, 17:56:11 UTC
1 parent 57a3ee9
ocamlp3lcc
#!###PERL###
use Getopt::Long;
$DEFAULTVERSION="###VERSION###";
$INSTALLDIR="###INSTALLDIR###";
$opt_version=$DEFAULTVERSION;
Getopt::Long::config("pass_through"); ### pass relevant options to the called script...
$result =GetOptions ("-version:s","-model:s");
if (! defined($opt_model)) {$opt_model="process";}; ### default execution model is process
$bin = "$INSTALLDIR/$opt_version/ocamlp3l-v$opt_model/bin/ocamlp3lcc";
if (!(-f $bin)) {print "Version or model unsupported in $bin"; exit 1;};
print "Compiling using $opt_model model, version $opt_version\n";
$out = `$bin @ARGV`;
print $out;
exit;
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...