allow to create the toplevel with debugging informations

Ignore-this: d993a5d1397aadd9d2d3d41f8dd122f3

darcs-hash:20110916110346-c41ad-6b6d5717082e90e291d57acb05b631feba5b5591
This commit is contained in:
Jeremie Dimino 2011-09-16 13:03:46 +02:00
parent 216686b89f
commit 7125782c8b
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ let () =
(* Use -linkpkg for creating toplevels *) (* Use -linkpkg for creating toplevels *)
flag ["ocaml"; "link"; "toplevel"] & A"-linkpkg"; flag ["ocaml"; "link"; "toplevel"] & A"-linkpkg";
(* Allow -g for toplevels. *)
flag ["ocaml"; "link"; "toplevel"; "debug"] & A "-g";
(* Optcomp *) (* Optcomp *)
flag ["ocaml"; "compile"; "pa_optcomp"] & S[A"-ppopt"; A "syntax/pa_optcomp.cmo"]; flag ["ocaml"; "compile"; "pa_optcomp"] & S[A"-ppopt"; A "syntax/pa_optcomp.cmo"];
flag ["ocaml"; "ocamldep"; "pa_optcomp"] & S[A"-ppopt"; A "syntax/pa_optcomp.cmo"]; flag ["ocaml"; "ocamldep"; "pa_optcomp"] & S[A"-ppopt"; A "syntax/pa_optcomp.cmo"];