Version française
Home     About     Download     Resources     Contact us    
Browse thread
mostly static ocaml binaries
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Basile STARYNKEVITCH <basile@s...>
Subject: mostly static ocaml binaries
Dear All

I would like to know how to make ocaml with mostly static binaries.

My motivation is the following: I want to code some dynamic web site but 
my small hosting company provide only a very basic linux system. In 
particular even the /usr/lib/libpcre.so is not available.

So I would like to develop an application which only has as dynamic 
library the very common ones like libc.so libm.so libdl.so and no much more.

I know that the request is not very common, I am not familiar enough 
with Ocaml linking of C libraries ...

BTW, those developing tools in Ocaml for Web might also consider this 
small issue: some small web hosting companies (those costing a few euros 
or dollars each month) offer only very few shared libraries, and most of 
the libraries used by such Ocaml web applications should be statically 
linked. It may sound strange, but it is true.

Oh, did I forgot to tell that I hate PHP?

Regards.


-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faïencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***