package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

Dune Dependency

Authors

Maintainers

Sources

b0-0.0.4.tbz
sha512=665735c8b7a8674201be765bdd676a18d1e38eff35de9d44c3dc15e2bfed2247e8963c9a32ae62d9ca2d6cd1edebd849aac29fdd5a846c14a30feea3edfc0601

doc/b0_b00_kit/B00_ocaml/Archive/index.html

Module B00_ocaml.Archive

Archiving.

Tool invocations for archiving.

val cstubs : ?post_exec:(B000.Op.t -> unit) -> ?k:(int -> unit) -> B00.Memo.t -> conf:Conf.t -> opts:B00_std.Cmd.t -> c_objs:B00_std.Fpath.t list -> odir:B00_std.Fpath.t -> oname:string -> unit

cstubs m ~conf ~opts ~c_objs ~odir ~oname creates in directory odir C stubs archives for a library named oname.

val byte : ?post_exec:(B000.Op.t -> unit) -> ?k:(int -> unit) -> B00.Memo.t -> conf:Conf.t -> opts:B00_std.Cmd.t -> has_cstubs:bool -> cobjs:B00_std.Fpath.t list -> odir:B00_std.Fpath.t -> oname:string -> unit

byte_archive m ~opts ~has_cstubs ~cobjs ~obase creates in directory odir a bytecode archive named oname with the OCaml bytecode compilation objects cobjs.

val native : ?post_exec:(B000.Op.t -> unit) -> ?k:(int -> unit) -> B00.Memo.t -> conf:Conf.t -> opts:B00_std.Cmd.t -> has_cstubs:bool -> cobjs:B00_std.Fpath.t list -> odir:B00_std.Fpath.t -> oname:string -> unit

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:(B000.Op.t -> unit) -> ?k:(int -> unit) -> B00.Memo.t -> conf:Conf.t -> opts:B00_std.Cmd.t -> code:Conf.code -> has_cstubs:bool -> cobjs:B00_std.Fpath.t list -> odir:B00_std.Fpath.t -> oname:string -> unit

archive is byte_archive or native_archive according to code.

OCaml

Innovation. Community. Security.