nullplan wrote:
You are working on a kernel. There is no library. There is only the kernel. OK, in GCC, there is also libgcc, but otherwise, there is no library. And libgcc only contains small utility functions, references to which are emitted by GCC automatically. You want a memcpy() function? Write it yourself, it is not hard. For GCC, you will have to define memcpy(), memmove(), memcmp(), and memset() yourself. Otherwise you are entirely free to write whatever functions you desire.
Those libraries come into play once you get the ball rolling on userspace. That might be a while off for you.
Understand, thanks.