[IDEA] need help for compiling to other architecture

Started by MassDrive, April 28, 2023, 06:14:15

Previous topic - Next topic

MassDrive

Hi, guys:

I have a question:
How to compile our library that targeting to other native systems like MIPS or others?
I have GCC and llvm for the specific arch.
In our "getting start" guide, we learned how to compile the JAVA part, but lack of instruction of how to compile the binary dependency part.

MassDrive


For other arch I mean gcc's long list  ;D  :

aarch64*-*-*
alpha*-*-*
amdgcn-*-amdhsa
amd64-*-solaris2*
arc-*-elf32
arc-linux-uclibc
arm-*-eabi
avr
Blackfin
cris
DOS
epiphany-*-elf
ft32-*-elf
*-*-freebsd*
h8300-hms
hppa*-hp-hpux*
hppa*-hp-hpux10
hppa*-hp-hpux11
*-*-linux-gnu
i?86-*-linux*
i?86-*-solaris2*
ia64-*-linux
ia64-*-hpux*
*-ibm-aix*
iq2000-*-elf
loongarch
lm32-*-elf
lm32-*-uclinux
m32c-*-elf
m32r-*-elf
m68k-*-*
m68k-*-uclinux
microblaze-*-elf
mips-*-*
moxie-*-elf
msp430-*-elf
nds32le-*-elf
nds32be-*-elf
nvptx-*-none
or1k-*-elf
or1k-*-linux
powerpc*-*-*
powerpc-*-darwin*
powerpc-*-elf
powerpc*-*-linux-gnu*
powerpc-*-netbsd*
powerpc-*-eabisim
powerpc-*-eabi
powerpcle-*-elf
powerpcle-*-eabisim
powerpcle-*-eabi
riscv32-*-elf
riscv32-*-linux
riscv64-*-elf
riscv64-*-linux
rl78-*-elf
rx-*-elf
s390-*-linux*
s390x-*-linux*
s390x-ibm-tpf*
*-*-solaris2*
sparc*-*-*
sparc-sun-solaris2*
sparc-*-linux*
sparc64-*-solaris2*
sparcv9-*-solaris2*
c6x-*-*
visium-*-elf
*-*-vxworks*
x86_64-*-*, amd64-*-*
x86_64-*-solaris2*
xtensa*-*-elf
xtensa*-*-linux*
Microsoft Windows
*-*-cygwin
*-*-mingw32
OS/2
Older systems