[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39794: AVR-Toolchain-5 avr/io not found
From: |
Ekaitz Zarraga |
Subject: |
bug#39794: AVR-Toolchain-5 avr/io not found |
Date: |
Wed, 26 Feb 2020 08:44:35 +0000 |
Follow up of the problem:
Looks like what it's missing is `multilib`, avr-gcc-4.9 package description
clearly activates multilib and states that in a comment:
(define-public avr-gcc-4.9
(let ((xgcc (cross-gcc "avr" #:xgcc gcc-4.9 #:xbinutils avr-binutils)))
(package
(inherit xgcc)
(name "avr-gcc")
(arguments
(substitute-keyword-arguments (package-arguments xgcc)
((#:phases phases)
`(modify-phases ,phases
;; Without a working multilib build, the resulting GCC lacks
;; support for nearly every AVR chip.
(add-after 'unpack 'fix-genmultilib
(lambda _
;; patch-shebang doesn't work here because there are actually
;; several scripts inside this script, each with a #!/bin/sh
;; that needs patching.
(substitute* "gcc/genmultilib"
(("#!/bin/sh") (string-append "#!" (which "sh"))))
#t))))
((#:configure-flags flags)
`(delete "--disable-multilib" ,flags))))
...
But looks like the avr-gcc-5.5, which is just inheriting the same description,
is not able to create the multilib.
Any idea about why?
I think once we solve that we could have a reasonable avr-toolchain and also go
for newer versions.
Regards,
Ekaitz
ElenQ Technology
Ethical Innovation
- bug#39794: AVR-Toolchain-5 avr/io not found, Ekaitz Zarraga, 2020/02/25
- bug#39794: AVR-Toolchain-5 avr/io not found,
Ekaitz Zarraga <=
- bug#39794: AVR-Toolchain-5 avr/io not found, Ekaitz Zarraga, 2020/02/28
- bug#39794: AVR-Toolchain-5 avr/io not found, Arun Isaac, 2020/02/29
- bug#39794: AVR-Toolchain-5 avr/io not found, Ekaitz Zarraga, 2020/02/29
- bug#39794: AVR-Toolchain-5 avr/io not found, Ekaitz Zarraga, 2020/02/29
- bug#39794: AVR-Toolchain-5 avr/io not found, Arun Isaac, 2020/02/29
- bug#39794: AVR-Toolchain-5 avr/io not found, Ekaitz Zarraga, 2020/02/29
- bug#39794: AVR-Toolchain-5 avr/io not found, Arun Isaac, 2020/02/29
- bug#39794: AVR-Toolchain-5 avr/io not found, Ekaitz Zarraga, 2020/02/29