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
[Caml-list] Compiler ActiveDVI (CVS)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-01-25 (23:00)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] Compiler ActiveDVI (CVS)
From: Sven <>

> > > creating cache ./config.cache
> > > checking your compiler package... version 3.04 at /usr/lib/ocaml
> > 
> > Thus. That's the directory where ocaml has installed its library files (It
> > is bound to CAMLDIR in Makefile.config of advi).  Thus, ocaml should have
> > copied the files (mlvalues.h, alloc.h, etc.)  in the subdirectory
> > $CAMLDIR/caml.
> No, the include files are in /usr/include/caml on a debian system as the FHS
> mandates.

That doesn't seem to be a good thing to do.
Objective Caml has only one standard: a unique distribution. If you
start to mess around with the directories, this is not very helpful
for anybody. There is no way a library developper can find the path of
the caml include files, other than expecting them to be in the
standard place, under the library directory. Usually you just call
them by <caml/mlvalues.h>, and your scheme with still work, but if
anybody chooses to do -I`ocaml -where`/caml , which is supposed to be
correct, then it breaks.
And what are you doing with caml-light header files ?

By the way, FHS or not, glib puts parts of its headers in
/usr/local/lib/grealizelib/include, which seems to be pretty similar to what
ocaml does (I noticed that righteous FreeBSD mainteners are moving them
back to /usr/local/include/glib12...)
And these headers will only be used by ocaml programs, this is not
just a standard C library.

Just a comment.


Jacques Garrigue
Bug reports:  FAQ:
To unsubscribe, mail  Archives: