gnu: gfortran, gcc-objc, gcc-objc++: Add version 8.

* gnu/packages/gcc.scm (gfortran-8, gcc-objc-8, gcc-objc++-8): New
variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Eric Brown 2018-09-02 09:27:56 -05:00 committed by Ludovic Courtès
parent 888b64038d
commit f66be84d08
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 22 additions and 0 deletions

View File

@ -663,6 +663,10 @@ as the 'native-search-paths' field."
(custom-gcc gcc-7 "gfortran" '("fortran") (custom-gcc gcc-7 "gfortran" '("fortran")
%generic-search-paths)) %generic-search-paths))
(define-public gfortran-8
(custom-gcc gcc-8 "gfortran" '("fortran")
%generic-search-paths))
(define-public gfortran (define-public gfortran
;; Note: Update this when GCC changes! We cannot use ;; Note: Update this when GCC changes! We cannot use
;; (custom-gcc gcc "fortran" …) because that would lead to a package object ;; (custom-gcc gcc "fortran" …) because that would lead to a package object
@ -723,6 +727,15 @@ as the 'native-search-paths' field."
(variable "LIBRARY_PATH") (variable "LIBRARY_PATH")
(files '("lib" "lib64")))))) (files '("lib" "lib64"))))))
(define-public gcc-objc-8
(custom-gcc gcc-8 "gcc-objc" '("objc")
(list (search-path-specification
(variable "OBJC_INCLUDE_PATH")
(files '("include")))
(search-path-specification
(variable "LIBRARY_PATH")
(files '("lib" "lib64"))))))
(define-public gcc-objc gcc-objc-5) (define-public gcc-objc gcc-objc-5)
(define-public gcc-objc++-4.8 (define-public gcc-objc++-4.8
@ -770,6 +783,15 @@ as the 'native-search-paths' field."
(variable "LIBRARY_PATH") (variable "LIBRARY_PATH")
(files '("lib" "lib64")))))) (files '("lib" "lib64"))))))
(define-public gcc-objc++-8
(custom-gcc gcc-8 "gcc-objc++" '("obj-c++")
(list (search-path-specification
(variable "OBJCPLUS_INCLUDE_PATH")
(files '("include")))
(search-path-specification
(variable "LIBRARY_PATH")
(files '("lib" "lib64"))))))
(define-public gcc-objc++ gcc-objc++-5) (define-public gcc-objc++ gcc-objc++-5)
(define (make-libstdc++-doc gcc) (define (make-libstdc++-doc gcc)