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 use pcre
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-09-06 (22:10)
From: Nicolas George <>
Subject: Re: [Caml-list] How to use pcre (3)
Le jeudi 06 septembre 2001 à 21:51, Johann Spies a écrit :
> $ocamlfind ocamlopt -o rex -I /usr/lib/ocaml/contrib -ccopt
> -L/usr/lib/ocaml/contrib  -cclib -llibpcre.a -linkall /tmp/
> No implementations provided for the following modules:
>   Pcre referenced from /tmp/rex.cmx

You provide code for the C-OCaml binding, but not the OCaml functions of
Pcre. You should try something like that:

ocamlopt -o rex -I +contrib pcre.cmxa /tmp/

The archives (cma and cmxa) il the latest versions of OCaml, record the
compiler options needed. And the +contrib is a shortcut for
Bug reports:  FAQ:
To unsubscribe, mail  Archives: