public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/modula-2] Add modula-2 into doc/install.texi and doc/sourcebuild.texi.
@ 2022-12-14 14:28 Gaius Mulley
  0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2022-12-14 14:28 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2e0ff34783ac0fc03ebcfd964bbb650d8779120f

commit 2e0ff34783ac0fc03ebcfd964bbb650d8779120f
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Wed Dec 14 13:55:22 2022 +0000

    Add modula-2 into doc/install.texi and doc/sourcebuild.texi.
    
    Add modula-2 into doc/install.texi and doc/sourcebuild.texi.
    
    gcc/ChangeLog:
    
            * doc/install.texi: Add m2 as a language.
            (--disable-libgm2) Documented.  Add make check-m2 to
            testing selected tests.
            * doc/sourcebuild.texi (GM2): New prerequisite item.
            (Python3 modules) New item.  (libgm2) Added.
            (gcc/m2) Added.
    
    Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>

Diff:
---
 gcc/doc/install.texi     | 10 ++++++++--
 gcc/doc/sourcebuild.texi |  6 +++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index a085f65bbcb..8d66f2034cb 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -1888,11 +1888,13 @@ grep ^language= */config-lang.in
 @end smallexample
 Currently, you can use any of the following:
 @code{all}, @code{default}, @code{ada}, @code{c}, @code{c++}, @code{d},
-@code{fortran}, @code{go}, @code{jit}, @code{lto}, @code{objc}, @code{obj-c++}.
+@code{fortran}, @code{go}, @code{jit}, @code{lto}, @code{m2},
+@code{objc}, @code{obj-c++}.
 Building the Ada compiler has special requirements, see below.
 If you do not pass this flag, or specify the option @code{default}, then the
 default languages available in the @file{gcc} sub-tree will be configured.
-Ada, D, Go, Jit, and Objective-C++ are not default languages.  LTO is not a
+Ada, D, Go, Jit, Objective-C++ and Modula-2 are not default languages.
+LTO is not a
 default language, but is built by default because @option{--enable-lto} is
 enabled by default.  The other languages are default languages.  If
 @code{all} is specified, then all available languages are built.  An
@@ -1920,6 +1922,10 @@ be built.  This can be useful for debugging, or for compatibility with
 previous Ada build procedures, when it was required to explicitly
 do a @samp{make -C gcc gnatlib_and_tools}.
 
+@item --disable-libgm2
+Specify that the run-time libraries and tools used by Modula-2 should not
+be built.  This can be useful for debugging.
+
 @item --disable-libsanitizer
 Specify that the run-time libraries for the various sanitizers should
 not be built.
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index ffe69d6fcb9..562be485ce8 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -97,6 +97,9 @@ The GCC runtime library.
 @item libgfortran
 The Fortran runtime library.
 
+@item libgm2
+The Modula-2 runtime library.
+
 @item libgo
 The Go runtime library.  The bulk of this library is mirrored from the
 @uref{https://github.com/@/golang/go, master Go repository}.
@@ -184,7 +187,8 @@ The @file{gcc} directory contains the following subdirectories:
 @item @var{language}
 Subdirectories for various languages.  Directories containing a file
 @file{config-lang.in} are language subdirectories.  The contents of
-the subdirectories @file{c} (for C), @file{cp} (for C++),
+the subdirectories @file{c} (for C), @file{cp} (for C++), @file{m2}
+(for Modula-2),
 @file{objc} (for Objective-C), @file{objcp} (for Objective-C++),
 and @file{lto} (for LTO) are documented in this
 manual (@pxref{Passes, , Passes and Files of the Compiler});

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-14 14:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 14:28 [gcc/devel/modula-2] Add modula-2 into doc/install.texi and doc/sourcebuild.texi Gaius Mulley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).