Closed ptrk8 closed 1 year ago
Nvm, I think #include <memory.h>
is referring to this header file in this libc implementation.
It should be a standard header. What libc are you using?
In any case it should generally work with any libc so I’ll get that include updated later today.
After review, I agree that the memory.h/string.h header is not needed and those can be safely removed. It will happen in the repo.
Thanks for getting back so promptly!
It should be a standard header. What libc are you using?
After looking into it, I realised that make CROSS=arm:cortex-a53
uses arm-none-eabi-gcc
, which uses Newlib as its libc and not glibc
(which I assumed).
After review, I agree that the memory.h/string.h header is not needed and those can be safely removed. It will happen in the repo.
Yes, sounds good! 👍
I was trying to cross-compile this library using the following
make
command:However, I got the following compiler error:
To fix this, I uncommented all instances of the following includes and compiled without errors.
My main question is: what is the purpose of this includes?