S
Sanfoor
Guest
I need to compile a specific version of cp (copy) command from the Linux coreutils source file. Instead of compiling the whole package.
iam just add a printf statement at the end of the function.
I am using Ubuntu 14.04, the source code of cp command is exist in the following directory.
/tmp/coreutils/coreutils-8.21/src/cp.c
how to compile it, so when run the cp command i can see the statement that i had added it in the code?
iam just add a printf statement at the end of the function.
I am using Ubuntu 14.04, the source code of cp command is exist in the following directory.
/tmp/coreutils/coreutils-8.21/src/cp.c
how to compile it, so when run the cp command i can see the statement that i had added it in the code?