[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2001-12-04 (12:20) |
From: | Xavier Leroy <xavier.leroy@i...> |
Subject: | Re: [Caml-list] -ccopt -shared |
> When using ocaml (native or bytecode) are we allowed to use -ccopt -shared to > use shared library ? Watch out: with gcc at least, the -shared option means "create a shared library", not "use shared libraries". The latter is the default behavior; no need for additional flags. 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. - Xavier Leroy ------------------- 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