package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0

doc/b0.file/B0_ocaml/Archive/index.html

Module B0_ocaml.ArchiveSource

Archiving.

Sourceval 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.

Sourceval 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.

Sourceval 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.

Sourceval 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

archive is byte or native according to code.