1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Caml Special Light *)
|
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1995 Institut National de Recherche en Informatique et *)
|
|
|
|
(* Automatique. Distributed only by permission. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
(* Command-line parameters *)
|
|
|
|
|
|
|
|
let objfiles = ref ([] : string list) (* .cmo and .cma files *)
|
|
|
|
and ccobjs = ref ([] : string list) (* .o, .a and -lxxx files *)
|
|
|
|
|
|
|
|
let compile_only = ref false (* -c *)
|
|
|
|
and exec_name = ref "a.out" (* -o *)
|
|
|
|
and archive_name = ref "library.cma" (* -o *)
|
|
|
|
and include_dirs = ref ([] : string list)(* - I *)
|
|
|
|
and print_types = ref false (* -i *)
|
|
|
|
and make_archive = ref false (* -a *)
|
1995-10-09 06:37:11 -07:00
|
|
|
and fast = ref false (* -unsafe *)
|
1995-05-04 03:15:53 -07:00
|
|
|
and link_everything = ref false (* -linkall *)
|
|
|
|
and custom_runtime = ref false (* -custom *)
|
|
|
|
and ccopts = ref ([] : string list) (* -ccopt *)
|
|
|
|
and nopervasives = ref false (* -nopervasives *)
|
|
|
|
|
|
|
|
let dump_lambda = ref false (* -dlambda *)
|
|
|
|
and dump_instr = ref false (* -dinstr *)
|
1995-05-22 04:58:51 -07:00
|
|
|
|
1995-07-20 00:52:12 -07:00
|
|
|
let keep_asm_file = ref false (* -S *)
|
1995-07-13 10:17:20 -07:00
|
|
|
let optimize_for_speed = ref true (* -compact *)
|
1995-07-02 09:50:39 -07:00
|
|
|
|
|
|
|
and dump_cmm = ref false (* -dcmm *)
|
|
|
|
let dump_selection = ref false (* -dsel *)
|
|
|
|
let dump_live = ref false (* -dlive *)
|
|
|
|
let dump_spill = ref false (* -dspill *)
|
|
|
|
let dump_split = ref false (* -dsplit *)
|
1995-08-24 06:25:21 -07:00
|
|
|
let dump_scheduling = ref false (* -dscheduling *)
|
1995-07-02 09:50:39 -07:00
|
|
|
let dump_interf = ref false (* -dinterf *)
|
|
|
|
let dump_prefer = ref false (* -dprefer *)
|
|
|
|
let dump_regalloc = ref false (* -dalloc *)
|
|
|
|
let dump_reload = ref false (* -dreload *)
|
1995-08-13 02:31:50 -07:00
|
|
|
let dump_scheduling = ref false (* -dscheduling *)
|
1995-07-02 09:50:39 -07:00
|
|
|
let dump_linear = ref false (* -dlinear *)
|
1995-07-10 02:48:27 -07:00
|
|
|
let keep_startup_file = ref false (* -dstartup *)
|