Replies: 1 comment 3 replies
-
I have no experience with building for "bare metal" hosts, but I suspect this may be a problem with your toolchain not supplying suitable replacements - when building with EMBEDDED=1, the only external components required should be related to memory management (malloc/free). Another explanation could be that you did a different build in the same path before and did not run |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been using MSYS2 with the gcc arm none toolchain to compile OpenBLAS for ARMv7 using:
make TARGET=ARMV7 CC=arm-none-eabi-gcc HOSTCC=gcc USE_THREAD=0 EMBEDDED=1 NO_FORTRAN=1 NO_SHARED=1
.The compilation seems to go fine but it fails at linkage because it is missing system call definitions (read, write, exit, and what have you).
Why does it even needs those? And regardless, shouldn't these functions be defined by the application that links the library? Is there anything I'm missing here?
Beta Was this translation helpful? Give feedback.
All reactions