Hey David, On 04/14/16 16:17, David Thompson wrote: > + (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 _ > + (substitute* "gcc/genmultilib" > + (("#!/bin/sh") (string-append "#!" (which "sh")))) > + #t))))
I think we should add fix-genmultilib to one of the existing standard phases because this problem appears to Ricardo's arm-none-eabi cross-toolchain as well. All the cross-toolchains will benefit from this. Other than that, we have a working toolchain at last :-D Thank you, Manolis