mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-23 02:36:40 +01:00
gnu: Add gcc-14.
* gnu/packages/gcc.scm (gcc-14): New variable. Change-Id: I7eca4e35e010a69c13489c10c72c29d6e628bb72 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
7f29030cd8
commit
b1c917779a
1 changed files with 23 additions and 0 deletions
|
@ -830,6 +830,29 @@ (define-public gcc-13
|
||||||
("x86_64" ,@%gcc-13-x86_64-micro-architectures))
|
("x86_64" ,@%gcc-13-x86_64-micro-architectures))
|
||||||
,@(package-properties gcc-11)))))
|
,@(package-properties gcc-11)))))
|
||||||
|
|
||||||
|
(define-public gcc-14
|
||||||
|
(package
|
||||||
|
(inherit gcc-13)
|
||||||
|
(version "14.1.0")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://gnu/gcc/gcc-"
|
||||||
|
version "/gcc-" version ".tar.xz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0h3889kkfp9bzw8km9w1ssh5qjskg6yw02q8v3lkvzksk1acd0z2"))
|
||||||
|
(patches (search-patches "gcc-12-strmov-store-file-names.patch"
|
||||||
|
"gcc-5.0-libvtv-runpath.patch"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet gcc-canadian-cross-objdump-snippet)))
|
||||||
|
(arguments (substitute-keyword-arguments (package-arguments gcc-13)
|
||||||
|
((#:phases phases #~%standard-phases)
|
||||||
|
#~(modify-phases #$phases
|
||||||
|
(add-before 'configure 'pre-x86-configure
|
||||||
|
(lambda _
|
||||||
|
(substitute* "gcc/config/i386/t-linux64"
|
||||||
|
(("\\.\\./lib64") "../lib"))))))))))
|
||||||
|
|
||||||
|
|
||||||
;; Note: When changing the default gcc version, update
|
;; Note: When changing the default gcc version, update
|
||||||
;; the gcc-toolchain-* definitions.
|
;; the gcc-toolchain-* definitions.
|
||||||
|
|
Loading…
Reference in a new issue