[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/include/caml vanished from ocaml



Sven Luther <sven.luther@wanadoo.fr> writes:


> because you want to do :
>
> #define <caml/mlvalues.h>
>
> Without having to add fancy -I flags.
>
> I think i understand you when you say that ocamlc and co should add this
> flag by default, but not all ocaml stuff use ocamlc in those cases, many
> call gcc directly.

  Other linux distributions don't need to see -I flag and they
  ship files in /usr/lib/ocaml/caml. This is also where the
  ocaml tarball installs files (it can be /usr/local).
  So, I'd like that we keep compatibility with other distributions.

  Olivier Andrieu told me it is important to use ocamlc for
  compiling C stubs because it uses the GCC that was used to
  compile the ocaml compilers. So, there cannot be confusions
  between C compilers.

  Cheers,

-- 
Jérôme Marant

http://marant.org



Reply to: