I just downloaded the coreutils from gnu project site and I would like to recompile only mkdir.c utility ( in order to learn some code stuff , to change it , and to adjust to my own needs ) .
I'd searched through the Makefiles , and sources I found that I should recompile it with the following command:
gcc -o mkdir mkdir.c dirname.h error.h makepath.h modechange.h quote.h system.h -lfetish
but I obtain only a bunch of errors.
What is wrong with that ?
Could somebody help me with this issue ?
Any suggestions are welcome.