Linker -lcamlrun avant les bibliotheques passees par -cclib.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@715 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1996-04-01 15:23:31 +00:00
parent 59300c06e8
commit 3b91622e5d
1 changed files with 3 additions and 3 deletions

View File

@ -223,19 +223,19 @@ let build_custom_runtime prim_name exec_name =
"win32" ->
Sys.command
(Printf.sprintf
"%s /Fe%s -I%s %s %s %s %s\\libcamlrun.lib %s"
"%s /Fe%s -I%s %s %s %s\\libcamlrun.lib %s %s"
Config.bytecomp_c_compiler
exec_name
Config.standard_library
(String.concat " " (List.rev !Clflags.ccopts))
prim_name
(String.concat " " (List.rev !Clflags.ccobjs))
Config.standard_library
(String.concat " " (List.rev !Clflags.ccobjs))
Config.c_libraries)
| _ ->
Sys.command
(Printf.sprintf
"%s -o %s -I%s %s %s -L%s %s -lcamlrun %s"
"%s -o %s -I%s %s %s -L%s -lcamlrun %s %s"
Config.bytecomp_c_compiler
exec_name
Config.standard_library