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
toplevel and native code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1999-07-21 (01:09)
From: Markus Mottl <mottl@m...>
Subject: toplevel and native code

I am not sure whether I have once again overlooked a feature so here
my question:

Is it possible to compile some module to native code and to link this
native code to generate an efficient toplevel?

When linking in custom runtime mode I can easily link in object files,
but only ".cmo"- or ".cma"-files (=byte code). In order to make use
of the native code, I would probably have to link against ".cmx"- or
".cmxa"-files, which is not possible.

Am I overlooking something or is this impossible due to restrictions of
the linker?

Best regards,
Markus Mottl

Markus Mottl,,