[klibc] [PATCH] klcc on multiple files
H. Peter Anvin
hpa at zytor.com
Wed May 25 10:34:42 PDT 2005
Erik van Konijnenburg wrote:
> There's a problem in klibc 1.0.12:
> klcc -c t.c && klcc t.o && ./a.out
> works, but
> klcc t.c && ./a.out
> fails because open3() wants to close its input,
> and you can do that only once to STDIN.
> Attached patch makes "klcc t.c" work again.
> This might break the klcc from stdin option, but I can't
> tell because I've got no idea how it's supposed to be invoked
> and what gcc command line should result. If you can mail
> a command line example I'll look for a cleaner solution.
I have released 1.0.13 which backs out the stdin patch. Daniel, could
you perhaps revise your patch to fix the various problems, and give a
real-life usage example?
More information about the klibc