Enter the source directory
./config no-asm -static --prefix=/usr/arm-none-linux-gnueabi --cross-compile-prefix=arm-none-linux-gnueabi-
Modify makefile
Modify PLATFORM= to the development board system
remove all -m32 (-m64 if 64-bit system)
make
make install