English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2005-11-12 (22:00)
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.