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] How to create byte-code with static link
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-11-06 (07:29)
From: IKEDA Katsumi <ikeda@m...>
Subject: [Caml-list] How to create byte-code with static link

I make dllfoo.so libfoo.a from foo.c.
Now I can create bar the following

ocamlc -o bar -dllpath /usr/local/foo/lib -I /usr/local/foo/lib foo.cma bar.cmo

There are dllfoo.so and libfoo.a in /usr/local/foo/lib

In this case, dllfoo.so is linked as dynamic link.

Is it possible link bar and libfoo.a as static link?


IKEDA Katsumi  <ikeda@msi.co.jp>
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners