Why Nostr? What is Njump?
2024-06-23 06:57:24

Rob on Nostr: Okay mos_8502 :verified: Becky - obnc can cross compile!<code>export ...

Okay - obnc can cross compile!<code>export CC=aarch64-none-elf-gcc<br>export CFLAGS="-D OBNC_CONFIG_TARGET_EMB=1 -specs=nosys.specs -O1 -g"<br>obnc -V -o hello.elf -x hello.obn<br><br>Creating executable hello.elf:<br><br>aarch64-none-elf-gcc -o hello.elf -I /usr/local/include -D OBNC_CONFIG_TARGET_EMB=1 -specs=nosys.specs -O1 -g /usr/local/lib/obnc/OBNC.c /usr/local/lib/obnc/Out.c .obnc/hello.c -lm<br>/home/rroland/arm/arm-gnu-toolchain-13.2.Rel1-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/13.2.1/../../../../aarch64-none-elf/bin/ld: /home/rroland/arm/arm-gnu-toolchain-13.2.Rel1-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/13.2.1/../../../../aarch64-none-elf/lib/libg.a(libc_a-closer.o): in function `_close_r':<br>/data/jenkins/workspace/GNU-toolchain/arm-13/src/newlib-cygwin/newlib/libc/reent/closer.c:47:(.text._close_r+0x1c): warning: _close is not implemented and will always fail<br></code>

and I have a AArch64 ELF file!
Author Public Key
npub1wm738s5306l3j34v0sge9scqjzxgd7wafnt2f4agqkumfte36vgqnxmk4m