armhf(ArmHardFloatPort)
Supported device:supports newer, more powerful 32-bit devices using ARMv7
armel(ArmEabiPort)
Supported device:port targets a range of older 32-bit devices using ARMv4, particularly those used in NAS hardware and a variety of *plug computers.
arm64(Arm64Port)
Supported device:latest 64-bit ARM-powered devices.
# dpkg --add-architecture armel
# apt-get update
# apt-get install crossbuild-essential-armel
紅色字可以替代armel armhf arm64
# vi /etc/apt/sources.list.d/crosstools.list
deb http://emdebian.org/tools/debian/ jessie main
# cd /tmp
# wget http://emdebian.org/tools/debian/emdebian-toolchain-archive.key
# apt-get install curl
# curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | apt-key add -
# apt-get update
install arm-linux-gnueabi- armel toolchain
# dpkg --add-architecture armel
# apt-get update
# apt-get install crossbuild-essential-armel
# arm-linux-gnueabi-
arm-linux-gnueabi-addr2line arm-linux-gnueabi-gcc-nm
arm-linux-gnueabi-ar arm-linux-gnueabi-gcc-nm-4.9
arm-linux-gnueabi-as arm-linux-gnueabi-gcc-ranlib
arm-linux-gnueabi-c++ arm-linux-gnueabi-gcc-ranlib-4.9
arm-linux-gnueabi-c89 arm-linux-gnueabi-gcov-4.9
arm-linux-gnueabi-c99 arm-linux-gnueabi-gprof
arm-linux-gnueabi-cc arm-linux-gnueabi-ld
arm-linux-gnueabi-c++filt arm-linux-gnueabi-ld.bfd
arm-linux-gnueabi-cpp-4.9 arm-linux-gnueabi-ld.gold
arm-linux-gnueabi-dwp arm-linux-gnueabi-nm
arm-linux-gnueabi-elfedit arm-linux-gnueabi-objcopy
arm-linux-gnueabi-g++ arm-linux-gnueabi-objdump
arm-linux-gnueabi-g++-4.9 arm-linux-gnueabi-ranlib
arm-linux-gnueabi-gcc arm-linux-gnueabi-readelf
arm-linux-gnueabi-gcc-4.9 arm-linux-gnueabi-size
arm-linux-gnueabi-gcc-ar arm-linux-gnueabi-strings
arm-linux-gnueabi-gcc-ar-4.9 arm-linux-gnueabi-strip
if you whant to install armhf architecture
# dpkg --add-architecture armhf
# apt-get update
# apt-get install crossbuild-essential-armhf
Reference:https://wiki.debian.org/CrossToolchains