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] 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: -- (:)
From: IKEDA Katsumi <ikeda@m...>
Subject: [Caml-list] How to create byte-code with static link

I make 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 and libfoo.a in /usr/local/foo/lib

In this case, is linked as dynamic link.

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


IKEDA Katsumi  <>
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: