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


Bug reports:  FAQ:
To unsubscribe, mail  Archives: