GNU bug report logs -
#78470
[PATCH] gnu: Add gm2-toolchain.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 78470 in the body.
You can then email your comments to 78470 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
andreas <at> enge.fr, efraim <at> flashner.co.il, ekaitz <at> elenq.tech, janneke <at> gnu.org, ludo <at> gnu.org, z572 <at> z572.online, guix-patches <at> gnu.org
:
bug#78470
; Package
guix-patches
.
(Sat, 17 May 2025 10:42:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Danny Milosavljevic <dannym <at> friendly-machines.com>
:
New bug report received and forwarded. Copy sent to
andreas <at> enge.fr, efraim <at> flashner.co.il, ekaitz <at> elenq.tech, janneke <at> gnu.org, ludo <at> gnu.org, z572 <at> z572.online, guix-patches <at> gnu.org
.
(Sat, 17 May 2025 10:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/commencement.scm (gm2-toolchain): New variable.
* gnu/packages/gcc.scm (gm2): New variable.
Change-Id: I0f416b53497daeec60dcefc3916591ea8a152dae
---
gnu/packages/commencement.scm | 7 +++++++
gnu/packages/gcc.scm | 12 ++++++++++++
2 files changed, 19 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 60ade637e1..24382d5437 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3744,5 +3744,12 @@ (define-public gfortran-toolchain
gfortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
+(define-public gm2-toolchain
+ (package (inherit (make-gcc-toolchain gm2))
+ (synopsis "Complete GCC tool chain for Modula-2 development")
+ (description "This package provides a complete GCC tool chain for
+Modula-2 development to be installed in user profiles. This includes
+modula2, as well as libc (headers and binaries, plus debugging symbols
+in the @code{debug} output), and binutils.")))
;;; commencement.scm ends here
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 2486448893..d1fb67cd72 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -48,6 +48,7 @@ (define-module (gnu packages gcc)
#:use-module (gnu packages docbook)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages elf)
+ #:use-module (gnu packages flex)
#:use-module (gnu packages perl)
#:use-module (guix packages)
#:use-module (guix download)
@@ -1247,6 +1248,17 @@ (define-public gdc
(custom-gcc gcc "gdc" '("d")
%generic-search-paths)))
+(define-public gm2
+ (hidden-package
+ (let ((base (custom-gcc gcc-14
+ "gm2" '("m2")
+ %generic-search-paths)))
+ (package
+ (inherit base)
+ (native-inputs
+ `(("flex" ,flex)
+ ,@(package-native-inputs base)))))))
+
(define-public (make-libgccjit gcc)
(package
(inherit gcc)
base-commit: efac01f19b65d7d77a98bbfd57fe2073fb13064a
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78470
; Package
guix-patches
.
(Sun, 18 May 2025 21:04:04 GMT)
Full text and
rfc822 format available.
Message #8 received at 78470 <at> debbugs.gnu.org (full text, mbox):
Hello,
Danny Milosavljevic <dannym <at> friendly-machines.com> writes:
> * gnu/packages/commencement.scm (gm2-toolchain): New variable.
> * gnu/packages/gcc.scm (gm2): New variable.
>
> Change-Id: I0f416b53497daeec60dcefc3916591ea8a152dae
[...]
> + (native-inputs
> + `(("flex" ,flex)
> + ,@(package-native-inputs base)))))))
Rather:
(modify-inputs (package-native-inputs base)
(prepend flex))
Otherwise LGTM, thanks!
Ludo’.
bug closed, send any further explanations to
78470 <at> debbugs.gnu.org and Danny Milosavljevic <dannym <at> friendly-machines.com>
Request was from
Danny Milosavljevic <dannym <at> friendly-machines.com>
to
control <at> debbugs.gnu.org
.
(Mon, 19 May 2025 19:44:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 17 Jun 2025 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.