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
Re: caml under FreeBSD.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques GARRIGUE <garrigue@k...>
Subject: Re: caml under FreeBSD.
>>>>> " " == Damien Doligez <> writes:

 > You should use the small preprocessor that is provided with Caml Light.
 > Go to src/tools and type "make clprepro".
 > Change src/Makefile to uncomment the line
 >   # CPP=../../src/tools/clprepro -Dunix
 > and comment the line
 >   CPP=/lib/cpp -P -Dunix

Stop! There is a cpp in FreeBSD. Just, it is not in /lib/cpp but
/usr/bin/cpp. Indeed, there is a line about that in Caml-Light's

So just change
	CPP=/lib/cpp -P -Dunix
	CPP=/usr/bin/cpp -P -Dunix

Jacques Garrigue	Kyoto University
		<A HREF=>JG</A>