Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* caml under FreeBSD.
@ 1996-11-23 19:33 Pedro Giffuni
  0 siblings, 0 replies; 3+ messages in thread
From: Pedro Giffuni @ 1996-11-23 19:33 UTC (permalink / raw)
  To: caml-list

Hello:
Has anyone tried caml 7.1 under FreeBSD? I receive a message while 
building in log.world that it cannot find /lib/cpp (FreeBSD doesn't have 
any /lib).

Pedro Giffuni.
Universidad Nacional de Colombia






^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re:  caml under FreeBSD.
@ 1996-11-25 10:06 Damien Doligez
  1996-11-26  1:44 ` Jacques GARRIGUE
  0 siblings, 1 reply; 3+ messages in thread
From: Damien Doligez @ 1996-11-25 10:06 UTC (permalink / raw)
  To: pgiffuni; +Cc: caml-list

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-11-27 19:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-23 19:33 caml under FreeBSD Pedro Giffuni
1996-11-25 10:06 Damien Doligez
1996-11-26  1:44 ` Jacques GARRIGUE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox