Commits

Anonymous committed 440475e

MAJ suite a la separation de compilos C pour le bytecode / pour le
compilo natif.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@117f963ae5c-01c2-4b8c-9fe0-0dff7051ff02

  • Participants
  • Parent commits ee15e9a

Comments (0)

Files changed (2)

File driver/compile.ml

   if Sys.command
      (Printf.sprintf
        "%s -c %s -I%s %s"
-       Config.c_compiler
+       Config.bytecomp_c_compiler
        (String.concat " "
          (List.map (fun dir -> "-I" ^ dir) 
                    (List.rev !Clflags.include_dirs)))

File driver/optcompile.ml

   if Sys.command
      (Printf.sprintf
        "%s -c %s -I%s %s"
-       Config.c_compiler
+       Config.native_c_compiler
        (String.concat " "
          (List.map (fun dir -> "-I" ^ dir) 
                    (List.rev !Clflags.include_dirs)))