Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Markus Mottl <mottl@m...>
Subject: toplevel and native code
Hello,

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, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl