[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/10] gnu: Add propeller-gcc.
From: |
Ricardo Wurmus |
Subject: |
[PATCH 03/10] gnu: Add propeller-gcc. |
Date: |
Mon, 26 Dec 2016 17:04:45 +0100 |
* gnu/packages/embedded.scm (propeller-gcc): New variable.
---
gnu/packages/embedded.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 150f4af..3ef2a3a 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -417,3 +417,37 @@ with a layered architecture of JTAG interface and TAP
support.")
("dejagnu" ,dejagnu)
,@(package-native-inputs xbinutils))))))
+(define-public propeller-gcc
+ (let ((xgcc (cross-gcc "propeller-elf"
+ propeller-binutils))
+ (commit "b4f45a4725e0b6d0af59e594c4e3e35ca4105867")
+ (revision "1"))
+ (package (inherit xgcc)
+ (name "propeller-gcc")
+ (version (string-append "6.0.0-" revision "." (string-take commit 9)))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
"https://github.com/totalspectrum/gcc-propeller.git")
+ (commit commit)))
+ (file-name (string-append name "-" commit "-checkout"))
+ (sha256
+ (base32
+ "0d9kdxm2fzanjqa7q5850kzbsfl0fqyaahxn74h6nkxxacwa11zb"))
+ (patches
+ (append
+ (origin-patches (package-source gcc-6))
+ (search-patches "gcc-cross-environment-variables.patch")))))
+ (native-inputs
+ `(("flex" ,flex)
+ ,@(package-native-inputs xgcc)))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "CROSS_C_INCLUDE_PATH")
+ (files '("propeller-elf/include")))
+ (search-path-specification
+ (variable "CROSS_LIBRARY_PATH")
+ (files '("propeller-elf/lib")))))
+ (home-page "https://github.com/totalspectrum/gcc-propeller")
+ (synopsis "GCC for the Parallax Propeller"))))
+
--
2.10.2
- [PATCH 01/10] gnu: Add dummy linker for propeller-elf., Ricardo Wurmus, 2016/12/26
- [PATCH 02/10] gnu: Add propeller-binutils., Ricardo Wurmus, 2016/12/26
- [PATCH 03/10] gnu: Add propeller-gcc.,
Ricardo Wurmus <=
- [PATCH 04/10] gnu: Add proplib., Ricardo Wurmus, 2016/12/26
- [PATCH 05/10] gnu: Add propeller-toolchain., Ricardo Wurmus, 2016/12/26
- [PATCH 06/10] gnu: Add openspin., Ricardo Wurmus, 2016/12/26
- [PATCH 07/10] gnu: Add propeller-load., Ricardo Wurmus, 2016/12/26
- [PATCH 08/10] gnu: Add spin2cpp., Ricardo Wurmus, 2016/12/26