Re: caml under FreeBSD.

Damien Doligez (Damien.Doligez@inria.fr)
Mon, 25 Nov 1996 11:06:57 +0100

Date: Mon, 25 Nov 1996 11:06:57 +0100
From: Damien Doligez <Damien.Doligez@inria.fr>
Message-Id: <199611251006.LAA01340@tobago.inria.fr>
To: pgiffuni@apolo.biblos.unal.edu.co
Subject: Re: caml under FreeBSD.

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

There is a "#ifndef msdos" in lib/filename.mlp. Exchange the contents
of the "then" and "else" parts and change the #ifndef into #ifdef.

Or simply remove everything between #else and #endif, as well as the
#ifndef line, since you're not under MSDOS.

Now do the "make world", "make bootstrap" etc.

-- Damien