Version française
Home     About     Download     Resources     Contact us    
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 <Damien.Doligez@inria.fr> 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
Makefile.

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

---------------------------------------------------------------------------
Jacques Garrigue	Kyoto University      garrigue@kurims.kyoto-u.ac.jp
		<A HREF=http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/>JG</A>