[U-Boot-Users] is there any other toolchains for u-boot of mips arch?

to use other toolchain? what need to do? i change the CROSS_COMPILE in Makefile and output the bin directory of the new toolchain and only get the error likes that /bin/sh: line 1: mips-linux-as : command not found
regards zhuzhenhua

zhuzhenhua wrote:
to use other toolchain? what need to do? i change the CROSS_COMPILE in Makefile and output the bin directory of the new toolchain and only get the error likes that /bin/sh: line 1: mips-linux-as : command not found
make sure mips-linux-as is in your path
$ export PATH=/path/to/mips-linux-as/bin:$PATH $ make

In message 50c9a2250511221728o44c2c318ia2c347fa658ee548@mail.gmail.com you wrote:
to use other toolchain? what need to do? i change the CROSS_COMPILE in Makefile
No, you do NOT change the Makefile. You just set and export the CROSS_COMPILE variable in your shell environmnt.
and output the bin directory of the new toolchain and only get the error likes that /bin/sh: line 1: mips-linux-as : command not found
Maybe there is a problem with your toolchain?
Best regards,
Wolfgang Denk
participants (3)
-
Grant Likely
-
Wolfgang Denk
-
zhuzhenhua