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: 1996-11-25 (18:09)
From: Damien Doligez <Damien.Doligez@i...>
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