Hi, there is a minor glitch in the make install for TARGET!=HOST cross-builds, which affects only Ada AFAICT.
That is "make install" tries to use the wrong ranlib command here: cd rts; for file in *.a;do \ /usr/bin/install -c -m 644 $file /home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/9.0.0/adalib; \ arm-linux-gnueabihf-ranlib /home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/9.0.0/adalib/$file; \ done /bin/bash: line 2: arm-linux-gnueabihf-ranlib: command not found /bin/bash: line 2: arm-linux-gnueabihf-ranlib: command not found /bin/bash: line 2: arm-linux-gnueabihf-ranlib: command not found /bin/bash: line 2: arm-linux-gnueabihf-ranlib: command not found /bin/bash: line 2: arm-linux-gnueabihf-ranlib: command not found gcc-interface/Makefile:527: recipe for target 'install-gnatlib' failed make[4]: [install-gnatlib] Error 127 (ignored) true The installed toolchain is nevertheless fully operational, but... This small correction fixes this glitch. Boot-strapped and reg-tested on x86_64-pc-linux-gnu and arm-linux-gnueabihf cross. Is it OK for trunk? Thanks Bernd.
patch-ada-install.diff
Description: patch-ada-install.diff