From 0b713dee9c682d2170cf868d6e1708472a3fbe34 Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 23 Dec 2020 12:49:58 -0600 Subject: [PATCH] Added proper cross-compiler reqs --- Some libc slash libk todos | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Some libc slash libk todos b/Some libc slash libk todos index a815e3f..dcd6a42 100644 --- a/Some libc slash libk todos +++ b/Some libc slash libk todos @@ -1,3 +1,15 @@ +To be able to do a hosted GCC cross-compiler/system-specific cross-compiler +=========================================================================== +/* NB: functions don't *need* to be implemented, just prototyped */ +sys/types.h: pid_t +errno.h: must exist +stdlib.h: abort(), atexit(), atoi(), free(), getenv(), malloc() +stdio.h: FILE, stderr, size_t, SEEK_SET, fflush(), fclose(), fopen(), fread(), + fseek(), ftell(), fwrite(), setbuf(), fprintf(), vfprintf() +string.h: size_t, memcpy(), memset(), strcpy(), strlen() +time.h: must exist +unistd.h: pid_t, fork(), execv(), execve(), execvp() + /* NB: This list is ordered. i.e. cat needs stuff from asa to work! */ For sh