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
"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.