Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

-- 
mailto:malc@pulsesoft.com

-------------------
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