package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

Dune Dependency

Authors

Maintainers

Sources

b0-0.0.1.tbz
sha256=dba2fc571f39f3b8e87ee55c77bdec7ec6a5ddc7d99b8b20aeda848af546be04
md5=51ee1d66acc4d7f87bdceac1341b7711

doc/b00_kit/B00_ocaml/Link/index.html

Module B00_ocaml.Link

OCaml linking.

module Deps : sig ... end

Link dependencies.

val byte_exe : ?post_exec:(B000.Op.t -> unit) -> ?k:(int -> unit) -> ?args:B00_std.Cmd.t -> B00.Memo.t -> c_objs:B00_std.Fpath.t list -> cobjs:B00_std.Fpath.t list -> o:B00_std.Fpath.t -> unit

byte_exe m ~args ~c_objs ~cmos ~o links the C objects c_objs and the OCaml compilation object files cobjs into a byte code executable o compiled in -custom mode.

val native_exe : ?post_exec:(B000.Op.t -> unit) -> ?k:(int -> unit) -> ?args:B00_std.Cmd.t -> B00.Memo.t -> c_objs:B00_std.Fpath.t list -> cobjs:B00_std.Fpath.t list -> o:B00_std.Fpath.t -> unit

byte_exe m ~args ~c_objs ~cobjs ~o links the C objects c_objs and the OCaml compilation object files cobjs into a native code executable o. An include is added to each element of cobjs in order to lookup potential C stubs.

val exe : ?post_exec:(B000.Op.t -> unit) -> ?k:(int -> unit) -> ?args:B00_std.Cmd.t -> B00.Memo.t -> code:Cobj.code -> c_objs:B00_std.Fpath.t list -> cobjs:B00_std.Fpath.t list -> o:B00_std.Fpath.t -> unit

exe is byte_exe or native_exe according to code.

OCaml

Innovation. Community. Security.