How do I compile the time.c on Alpine?
问题 I don't like the built-in time utility in Alpine Linux and would like to improve it for my needs -- I want to edit the time.c and compile it to a binary. I have done the apk add build-base to install the gcc and have copypasted the time.c from Github, but when I do the gcc /tmp/time.c -o /tmp/time I get the: /tmp/time.c:34:10: fatal error: libbb.h: No such file or directory #include "libbb.h" ^~~~~~~~~ So I copypasted it too but it relies on dozens more header files. I saw somewhere that I