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
"Hello web" please
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-07-12 (11:21)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: Re: [Caml-list] "Hello web" please
Make your life simpler, and install findlib ;-) (The presence of
site-lib for the path to pcre indicates it'll work out of the box)

In a script, you can do:

#use "topfind";;

#require "pcre";;

at this point, it'll have loaded all the necessary .cma & .cmi files,
added path to the .cmi/.mli files to the search path, and also resolve
any dependencies.