Skip to content

GCC musl 跨架构编译支持情况

PikuZheng edited this page Sep 29, 2022 · 2 revisions

GCC-musl 支持的架构(部分)

aarch64_be aarch64 armeb-eabi armeb-eabihf armel-eabi armel-eabihf arm-eabi arm-eabihf armv5l-eabi armv5l-eabihf armv6-eabi armv6-eabihf armv7l-eabihf armv7m-eabi armv7r-eabihf i486 i686 m68k microblazeel microblaze mips64el mips64el-n32 mips64el-n32sf mips64 mips64-n32 mips64-n32sf mipsel mipsel-n32 mipsel-n32sf mipsel-sf mips mips-n32sf mips-sf or1k powerpc64le powerpc64 powerpcle powerpcle-sf powerpc powerpc-sf riscv32 riscv64 s390x sh2eb sh2eb-fdpic sh2 sh2-fdpic sh4eb sh4 x86_64 x86_64-x32

Openssl 支持的架构(部分)

linux-aarch64 linux-alpha-gcc linux-aout linux-arm64ilp32 linux-armv4 linux-c64xplus linux-elf linux-generic32 linux-generic64 linux-ia64 linux-mips32 linux-mips64 linux-ppc linux-ppc64 linux-ppc64le linux-sparcv8 linux-sparcv9 linux-x32 linux-x86 linux-x86-clang linux-x86_64 linux-x86_64-clang linux32-s390x linux64-mips64 linux64-riscv64 linux64-s390x linux64-sparcv9

不同系统对不同架构的称谓收集如下(不一定准确):

include builder Debian OpenWrt optware CentOS
* aarch64-linux-musl arm64 aarch64 aarch64 arm64v8
arm-linux-musleabi armel armv7sf arm32v7
arm-linux-musleabihf armhf armhf armeabihf
* i686-linux-musl i386 i386 x86 i386
* mips-linux-musl mips mips mipssf
mips64-linux-musl mips64
mips64el-linux-musl mips64el mips64el
* mipsel-linux-musl mipsel mipsel mipselsf
powerpc-linux-musl
powerpc64-linux-musl
* powerpc64le-linux-musl ppc64el ppc64le
powerpcle-linux-musl
* x86_64-linux-musl amd64 x86_64 x64 amd64