Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* toplevel and native code
@ 1999-07-19 19:00 Markus Mottl
  1999-07-21  3:52 ` Fabrice Le Fessant
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Mottl @ 1999-07-19 19:00 UTC (permalink / raw)
  To: OCAML

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: toplevel and native code
  1999-07-19 19:00 toplevel and native code Markus Mottl
@ 1999-07-21  3:52 ` Fabrice Le Fessant
  0 siblings, 0 replies; 2+ messages in thread
From: Fabrice Le Fessant @ 1999-07-21  3:52 UTC (permalink / raw)
  To: Markus Mottl; +Cc: OCAML


  You can try the two libraries which are included in the Efuns package:
- AsmDynlink allows dynamic linking of bytecode modules in a native
program (almost same interface as Dynlink).
- Toplevel allows compilation and linking of Ocaml source to bytecode,
and linking in a native program.

     http://pauillac.inria.fr/efuns

- Fabrice




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-07-21 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-19 19:00 toplevel and native code Markus Mottl
1999-07-21  3:52 ` Fabrice Le Fessant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox