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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: PIC
I notice Ocaml 3.09 has -fPIC option. Thanks! This is a step
towards dynamic loading in native code. 

I wonder, is it actually supported -- or even possible 
to load native code (on suitable platforms) at startup
from C? From an Ocaml mainline? 

What's left to be able to 'dlopen()' a function library?
>From C? From Ocaml? Will that ever be possible?

[Another question, whether one can wrap native code
so it can be called from bytecode.. this would allow
bytecode programs to generate and compile bytecode
extensions .. without the bulk of the code running

John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: