B0_ocaml.Archive
Archiving.
val cstubs :
?post_exec:(B0_zero.Op.t -> unit) ->
?k:(B0_zero.Op.t -> int -> unit) ->
B0_memo.t ->
conf:Conf.t ->
opts:B0_std.Cmd.t ->
c_objs:B0_std.Fpath.t list ->
odir:B0_std.Fpath.t ->
oname:string ->
B0_std.Fpath.t list
cstubs m ~conf ~opts ~c_objs ~odir ~oname
creates in directory odir
C stubs archives for a library named oname
. It returns the written files.
val byte :
?post_exec:(B0_zero.Op.t -> unit) ->
?k:(B0_zero.Op.t -> int -> unit) ->
B0_memo.t ->
conf:Conf.t ->
opts:B0_std.Cmd.t ->
has_cstubs:bool ->
cobjs:B0_std.Fpath.t list ->
odir:B0_std.Fpath.t ->
oname:string ->
B0_std.Fpath.t list
byte_archive m ~opts ~has_cstubs ~cobjs ~obase
creates in directory odir
a bytecode archive named oname
with the OCaml bytecode compilation objects cobjs
. It returns the written files.
val native :
?post_exec:(B0_zero.Op.t -> unit) ->
?k:(B0_zero.Op.t -> int -> unit) ->
B0_memo.t ->
conf:Conf.t ->
opts:B0_std.Cmd.t ->
has_cstubs:bool ->
cobjs:B0_std.Fpath.t list ->
odir:B0_std.Fpath.t ->
oname:string ->
B0_std.Fpath.t list
native m ~opts ~has_cstubs ~cobjs ~obase
creates in directory odir
a native code archive named oname
with the OCaml native code compilation objects cobjs
.
val code :
?post_exec:(B0_zero.Op.t -> unit) ->
?k:(B0_zero.Op.t -> int -> unit) ->
B0_memo.t ->
conf:Conf.t ->
opts:B0_std.Cmd.t ->
code:Code.t ->
has_cstubs:bool ->
cobjs:B0_std.Fpath.t list ->
odir:B0_std.Fpath.t ->
oname:string ->
B0_std.Fpath.t list
val native_dynlink :
?post_exec:(B0_zero.Op.t -> unit) ->
?k:(B0_zero.Op.t -> int -> unit) ->
B0_memo.t ->
conf:Conf.t ->
opts:B0_std.Cmd.t ->
has_cstubs:bool ->
cmxa:B0_std.Fpath.t ->
o:B0_std.Fpath.t ->
B0_std.Fpath.t list