MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit bc873567 authored by POTTIER Francois's avatar POTTIER Francois
Browse files

Manual: indicate dune is preferred over ocamlbuild.

parent 9db9a976
......@@ -4137,7 +4137,7 @@ This material should be of interest only to authors of build systems
who wish to build support for \menhir into their system.
%
Ordinary users should skip this section and use a build system that knows
about \menhir, such as \ocamlbuild or \dune.
about \menhir, such as \dune (preferred) or \ocamlbuild.
\subsection{\ocaml type inference and dependency analysis}
\label{sec:build:infer}
......@@ -4301,8 +4301,6 @@ parser generated by \menhir. What are these flags? In the absence of the
\menhirlib is visible to the \ocaml compiler. If the support library
\menhirlib was installed via \ocamlfind, a \texttt{-package} directive is
issued; otherwise, a \texttt{-I} directive is used.
% The file \distrib{demos/obsolete/Makefile.shared} shows how to exploit
% the \texttt{--suggest-*} switches.
\docswitch{\osuggestlinkb} This switch causes \menhir to print a set of
suggested link flags, and exit. These flags are intended to be passed to
......@@ -4311,8 +4309,6 @@ the absence of the \otable switch, they are empty. When \otable is set, these
flags ensure that \menhirlib is linked in. If the support library \menhirlib
was installed via \ocamlfind, a \texttt{-linkpkg} directive is issued;
otherwise, the object file \texttt{menhirLib.cmo} is named.
% The file \distrib{demos/obsolete/Makefile.shared} shows how to exploit
% the \texttt{--suggest-*} switches.
\docswitch{\osuggestlinko} This switch causes \menhir to print a set of
suggested link flags, and exit. These flags are intended to be passed to
......@@ -4321,8 +4317,6 @@ flags? In the absence of the \otable switch, they are empty. When \otable is
set, these flags ensure that \menhirlib is linked in. If the support library
\menhirlib was installed via \ocamlfind, a \texttt{-linkpkg} directive is
issued; otherwise, the object file \texttt{menhirLib.cmx} is named.
% The file \distrib{demos/obsolete/Makefile.shared} shows how to exploit
% the \texttt{--suggest-*} switches.
\docswitch{\osuggestmenhirlib} This switch causes \menhir to print (the
absolute path of) the directory where \menhirlib was installed. If \menhirlib
......@@ -4472,9 +4466,9 @@ time spent in the lexer and in the semantic actions.
\question{How do I write \Makefile rules for \menhir?}
This can a bit tricky. % understatement
If you must do this, see \sref{sec:build}.
% and look at \distrib{demos/obsolete/Makefile.shared}.
It is recommended instead to use a build system
with built-in support for \menhir, such as \ocamlbuild or \dune.
with built-in support for \menhir, such as \dune (preferred)
or \ocamlbuild.
\question{How do I use \menhir with \ocamlbuild?}
Pass \verb+-use-ocamlfind -use-menhir+ to \ocamlbuild.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment