public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Gaius Mulley <gaius@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/modula-2] Add modula-2 into doc/install.texi and doc/sourcebuild.texi. Date: Wed, 14 Dec 2022 14:28:42 +0000 (GMT) [thread overview] Message-ID: <20221214142842.50B9F3844B06@sourceware.org> (raw) 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});
reply other threads:[~2022-12-14 14:28 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221214142842.50B9F3844B06@sourceware.org \ --to=gaius@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).