I want to manually compile the login command (with the exact CC and LD commands).
https://packages.ubuntu.com/groovy/login
/tmp/shadow_4.8.1.orig/src$ make VERBOSE=1
CC login.o
CCLD login
The above command doesn't show the exact command. When I run the following, I see the following error.
$ gcc -o login login.c
login.c:33:10: fatal error: config.h: No such file or directory
33 | #include <config.h>
| ^~~~~~~~~~
compilation terminated.
Could anybody show me how to get the exact commands used to compile the program login? Thanks.
In this case, where the build is configured by
automake
, you needV=1
notVERBOSE=1
:To build the whole package, change to the
src
directory's parent directory and runSee also: