I tried following the hints given in that post: https://forum.creatordev.io/t/compiling-libawa-static-for-arm/66
I edited a file named arm-toolchain.cmake and passed it to the Makefile as he did.
I am getting the same error as him:
In function exit:
exit.c:(.text.exit+0x2c): undefined reference to _exit
collect2: error: ld returned 1 exit status
All I could find on the internet talked about linking libc and using the -specs=nosys.specs flag. And those are already present in the arm-toolchain.cmake file he did.
Any hint on how to make it copile ?
PS: I'm still trying to build the awa static library for an arm target without using contiki.