Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Annoying compiler magic
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] Annoying compiler magic

I'm trying to make a custom stdlib.cma, and I'm running into a few
problems when linking.

Even when external references to a bunch of C functions are removed
from stdlib implementation, the compiler still manages to link in
those external references.

Things like caml_sys_open, caml_output_value, caml_ml_seek_out, etc., etc.

Where the hell are these coming from? Are they built into the compiler
itself? As I can't find anything to explain it.