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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-12-04 (23:30)
From: malc <malc@p...>
Subject: Re: [Caml-list] -ccopt -shared
On Tue, 4 Dec 2001, Vitaly Lugovsky wrote:

> On Tue, 4 Dec 2001, Xavier Leroy wrote:
> > If you really want to create a shared library containing OCaml code
> > and the OCaml runtime system, this can be done, but you need to use
> > ocamlc -output-obj or ocamlopt -output-obj to package the OCaml code
> > as a C object.
>  And the resulting code will be PIC on x86 with a native compiler? Is it 
> already usefull?

-ccopt -shared merely notifies ocaml driver to pass -shared to C driver.
I think you are confusing issues here.


Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr