You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4920 Reporter: ecc Status: closed (set by @xavierleroy on 2015-12-11T18:23:48Z) Resolution: fixed Priority: normal Severity: text Version: 3.11.1 Target version: 4.01.0+dev Fixed in version: 4.01.0+dev Category: documentation
Bug description
In the manual chapter "Interfacing C with Objective Caml", subsection "Advanced topic: callbacks from C to Caml", sub-subsection "Embedding the Caml code in the C code":
It's not necessary to include unix.cma in the ocamlopt command, or -lunix in the gcc command (unless required by the OCaml code, of course)
It is necessary to add both "-lm" and "-ldl" at the end of the gcc command line.
(on Linux, at least)
The text was updated successfully, but these errors were encountered:
Original bug ID: 4920
Reporter: ecc
Status: closed (set by @xavierleroy on 2015-12-11T18:23:48Z)
Resolution: fixed
Priority: normal
Severity: text
Version: 3.11.1
Target version: 4.01.0+dev
Fixed in version: 4.01.0+dev
Category: documentation
Bug description
In the manual chapter "Interfacing C with Objective Caml", subsection "Advanced topic: callbacks from C to Caml", sub-subsection "Embedding the Caml code in the C code":
It's not necessary to include unix.cma in the ocamlopt command, or -lunix in the gcc command (unless required by the OCaml code, of course)
It is necessary to add both "-lm" and "-ldl" at the end of the gcc command line.
(on Linux, at least)
The text was updated successfully, but these errors were encountered: