根据此处的说明,我试图在 Ubuntu 上为 Mips 设置工具链。但是,当我这样做时make CFLAGS="-Os -w"
,我收到如下错误:-
...
...
fi
echo timestamp > stmp-fixproto
make[2]: *** No rule to make target `/usr/local/bin/mips-elf-as', needed by `stamp-as'. Stop.
make[2]: Leaving directory `/home/mainuser/mips/gcc-obj/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/mainuser/mips/gcc-obj'
make: *** [all] Error 2
我该如何纠正这个错误?