package ocaml-solo5

Build not yet checked
  1. Overview
  2. Docs
OCaml cross-compiler to the freestanding Solo5 backend

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.3.5.tar.gz
md5=ea2abfe4436990ed71c823b212c78a0f
sha512=a0b048a9fb97e8fb0902ba9e9f76818dd9a250001b8f35d08eb5df52f4e978aa74ea3fc149ad5270a595431b68e574adf97762954f5e2a0b3661490357737774

doc/compiler-libs.bytecomp/Byterntm/index.html

Module Byterntm

Parser for RNTM in bytecode executables. Parses both the RNTM section and the shebang launcher produced by Bytelink.

type search_method =
  1. | Disable of string
    (*

    Check fixed location only

    *)
  2. | Fallback of string
    (*

    Check given location first then fallback to searching for the interpreter

    *)
  3. | Enable
    (*

    Always search for the interpreter

    *)

Search methods used by a tendered bytecode image to find a runtime.

val read_runtime : Bytesections.section_table -> in_channel -> (string * Misc.RuntimeID.t option * search_method) option

Returns the runtime used by this tendered/standalone image. If the runtime used cannot be parsed, or the image was linked using -without-runtime, then None is returned.