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-07 (06:59)
From: Johann Spies <jspies@m...>
Subject: Re: [Caml-list] How to use pcre (3)
Markus Mottl <> writes:

> The problem is that you have to add pcre.cmxa (or pcre.cma for byte code)
> before your /tmp/ It's not enough to link against the C-library,
> or better: you don't even have to do this.
> This should suffice:
>   ocamlopt -o rex -I /usr/lib/ocaml/contrib -ccopt \
>     -L/usr/lib/ocaml/contrib pcre.cmxa /tmp/
> I don't know ocamlfind, because I usually use OcamlMakefile for just

As with my previous questions to this list I have learnt a lot.  This
time about compilation, OcamlMakefile and Ocamlfind's META.  Thanks to
Marcus, Gerd, Alain and Nicolais for their answers.

Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "For whosoever shall call upon the name of the Lord 
      shall be saved."         Romans 10:13 
Bug reports:  FAQ:
To unsubscribe, mail  Archives: