Manolis Ragkousis <manolis...@gmail.com> skribis: > 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.
Agreed. Could you prepare a patch for ‘core-updates’ that does this? In the meantime we’ll add something along the lines of what David posted in ‘master’. Ludo’.