* 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
* Re: caml under FreeBSD.
1996-11-25 10:06 caml under FreeBSD Damien Doligez
@ 1996-11-26 1:44 ` Jacques GARRIGUE
0 siblings, 0 replies; 3+ messages in thread
From: Jacques GARRIGUE @ 1996-11-26 1:44 UTC (permalink / raw)
To: caml-list
>>>>> " " == 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* 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
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-25 10:06 caml under FreeBSD Damien Doligez
1996-11-26 1:44 ` Jacques GARRIGUE
-- strict thread matches above, loose matches on Subject: below --
1996-11-23 19:33 Pedro Giffuni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox