Linker -lcamlrun avant les bibliotheques passees par -cclib.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@715 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
59300c06e8
commit
3b91622e5d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue