Hi,what do I need in order to compile and run armv7eb binaries on an aarch64eb system?
I've built a compiler using "./build.sh -m evbarm -a earmv7hfeb -M /usr/obj -T /usr/tools tools", but this compiler misses libraries (and probably header files):
[raspi3eb:~/tmp/interworking]$ armv7eb--netbsdelf-eabihf-gcc -Wl,--no-warn-execstack -mcpu=Cortex-A53 -mthumb-interwork main.c sub-arm.o -o t-arm /usr/tools/lib/gcc/armv7eb--netbsdelf-eabihf/14.3.0/../../../../armv7eb--netbsdelf-eabihf/bin/ld: cannot find crt0.o: No such file or directory /usr/tools/lib/gcc/armv7eb--netbsdelf-eabihf/14.3.0/../../../../armv7eb--netbsdelf-eabihf/bin/ld: cannot find crtbegin.o: No such file or directory /usr/tools/lib/gcc/armv7eb--netbsdelf-eabihf/14.3.0/../../../../armv7eb--netbsdelf-eabihf/bin/ld: cannot find -lgcc_s: No such file or directory /usr/tools/lib/gcc/armv7eb--netbsdelf-eabihf/14.3.0/../../../../armv7eb--netbsdelf-eabihf/bin/ld: cannot find -lgcc: No such file or directory /usr/tools/lib/gcc/armv7eb--netbsdelf-eabihf/14.3.0/../../../../armv7eb--netbsdelf-eabihf/bin/ld: cannot find -lc: No such file or directory /usr/tools/lib/gcc/armv7eb--netbsdelf-eabihf/14.3.0/../../../../armv7eb--netbsdelf-eabihf/bin/ld: cannot find -lgcc_s: No such file or directory /usr/tools/lib/gcc/armv7eb--netbsdelf-eabihf/14.3.0/../../../../armv7eb--netbsdelf-eabihf/bin/ld: cannot find -lgcc: No such file or directory /usr/tools/lib/gcc/armv7eb--netbsdelf-eabihf/14.3.0/../../../../armv7eb--netbsdelf-eabihf/bin/ld: cannot find crtend.o: No such file or directory
collect2: error: ld returned 1 exit status [raspi3eb:~/tmp/interworking]$ [raspi3eb:~/tmp/interworking]$ uname -apNetBSD raspi3eb.groessler.org 11.99.3 NetBSD 11.99.3 (GENERIC64) #0: Tue Nov 4 12:25:30 CET 2025 chris%raspi3eb.groessler.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm aarch64eb
[raspi3eb:~/tmp/interworking]$ regards, chris