Module Omod_ocamlc.CmaSource

cma files

Sourcetype t

The type for cma files.

Sourceval read : Omod.fpath -> (t, string) result

read_cma f reads a cma file from f.

Sourceval name : t -> string

name cma is the archive name of cma.

Sourceval cmos : t -> Cmo.t list

cmos cma are the cmos contained in the archive.

Sourceval custom : t -> bool

custom cma is true if it requires custom mode linking.

Sourceval custom_cobjs : t -> string list

custom_cobjs are C objects files needed for custom mode linking.

Sourceval custom_copts : t -> string list

custom_copts are extra options passed for custom mode linking.

Sourceval dllibs : t -> string list

dllibs are dynamically loaded C libraries for ocamlrun dynamic linking.