目标平台;
aarch64
amd64
armv7l
s390x
mipsel
powerpc64le
riscv64
apt-get update -y
apt-get install git build-essential lrzsz zip unzip libkrb5-dev libicu-dev screen iftop openssl libssl-dev libunwind8 iftop net-tools gcc-multilib gdb clang cmake curl wget autoconf -y
apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu -y
apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf -y
apt-get install gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu -y
apt-get install gcc-s390x-linux-gnu g++-s390x-linux-gnu -y
apt-get install gcc-riscv64-linux-gnu g++-riscv64-linux-gnu -y
apt-get install gcc-mipsel-linux-gnu g++-mipsel-linux-gnu -y
编译器名;
"aarch64" "aarch64-linux-gnu-ld" "aarch64-linux-gnu-gcc" "aarch64-linux-gnu-g++"
"armv7l" "arm-linux-gnueabihf-ld" "arm-linux-gnueabihf-gcc" "arm-linux-gnueabihf-g++"
"mipsel" "mipsel-linux-gnu-ld" "mipsel-linux-gnu-gcc" "mipsel-linux-gnu-g++"
"ppc64el" "powerpc64le-linux-gnu-ld" "powerpc64le-linux-gnu-gcc" "powerpc64le-linux-gnu-g++"
"riscv64" "riscv64-linux-gnu-ld" "riscv64-linux-gnu-gcc" "riscv64-linux-gnu-g++"
"s390x" "s390x-linux-gnu-ld" "s390x-linux-gnu-gcc" "s390x-linux-gnu-g++"
"amd64" "ld" "gcc" "g++"