[klibc] [PATCH] klcc compatibility with gcc

H. Peter Anvin hpa at zytor.com
Wed Mar 2 16:49:56 PST 2005

Erik van Konijnenburg wrote:
> This patch addresses three issues in klcc:
>  * lets klcc define __KLIBC__.
>    It's also defined in the klibc <stddef.h>, but we cannot
>    rely on stddef being included in every sourcefile of
>    every application that wants to use klibc.

-D__KLIBC__ is part of REQFLAGS.  If it *isn't*, please let me know, 
including which platform it's on, because that's a bug.

>  * supports the option -include,
>    for example 'gcc -include config.h expr.c'.
>    This option is used in the ash Makefile.
>  * when running 'klcc -o app main.o lib.o'
>    only the last file was passed to the link-editor.



More information about the klibc mailing list