mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add gm2-toolchain.
* gnu/packages/commencement.scm (gm2-toolchain): New variable. * gnu/packages/gcc.scm (gm2): New variable. Change-Id: I0f416b53497daeec60dcefc3916591ea8a152dae
This commit is contained in:
parent
24f47d5db1
commit
57ea6d3d59
2 changed files with 19 additions and 0 deletions
|
@ -3744,5 +3744,12 @@ Fortran development to be installed in user profiles. This includes
|
|||
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
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
#: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 @@ as the 'native-search-paths' field."
|
|||
(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
|
||||
(modify-inputs (package-native-inputs base)
|
||||
(prepend flex)))))))
|
||||
|
||||
(define-public (make-libgccjit gcc)
|
||||
(package
|
||||
(inherit gcc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue