tale@cs.rpi.edu (David C Lawrence) (01/09/90)
Make -n will print out rules that it will not really execute to build a target. I don't know what else you will need to help figure this out, but this is with the standard G++ (1.36.2) Makefile. Four commands are on seperate lines of the following typescript: make -v -f /dev/null, make, make -n install, make install. The third erroneously reports a lot of commands that do not need to be run. Script started on Tue Jan 9 03:13:48 1990 bash$ make -v -f /dev/null GNU Make version 3.57, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 1989 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. make: No targets. Stop. bash$ make make: `all' is up to date. bash$ make -n install gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config expr.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config stmt.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config case.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config expmed.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config optabs.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config emit-rtl.c gcc -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config -c insn-emit.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config integrate.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config loop.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config combine.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config regclass.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config local-alloc.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config global-alloc.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config reload.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config reload1.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config caller-save.c gcc -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config -c insn-peep.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config final.c gcc -c -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config recog.c gcc -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config -c insn-recog.c gcc -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config -c insn-extract.c gcc -g -DGATHER_STATISTICS -O -DESKIT -I. -I. -I./config -c insn-output.c mkdir /usr/local/gnu/lib mkdir /usr/local/gnu/bin mkdir /usr/local/gnu/lib if [ -f cc1plus ] ; then install -c cc1plus /usr/local/gnu/lib/gcc-cc1plus ;fi if [ -f collect ] ; then install -c collect /usr/local/gnu/lib/gcc-collect ;fi install -c g++ /usr/local/gnu/bin if [ -f ld++ ] ; then install -c ld++ /usr/local/gnu/lib/gcc-ld ;fi if [ -f crt1+.o ] ; then install -c crt1+.o /usr/local/gnu/lib/crt1+.o ;fi mkdir /usr/local/gnu/lib/g++-include chmod ugo+rx /usr/local/gnu/lib/g++-include bash$ make install mkdir /usr/local/gnu/lib mkdir: /usr/local/gnu/lib: File exists make: *** [install] Error 1 (ignored) mkdir /usr/local/gnu/bin mkdir: /usr/local/gnu/bin: File exists make: *** [install] Error 1 (ignored) mkdir /usr/local/gnu/lib mkdir: /usr/local/gnu/lib: File exists make: *** [install] Error 1 (ignored) if [ -f cc1plus ] ; then install -c cc1plus /usr/local/gnu/lib/gcc-cc1plus ;fi if [ -f collect ] ; then install -c collect /usr/local/gnu/lib/gcc-collect ;fi install -c g++ /usr/local/gnu/bin if [ -f ld++ ] ; then install -c ld++ /usr/local/gnu/lib/gcc-ld ;fi if [ -f crt1+.o ] ; then install -c crt1+.o /usr/local/gnu/lib/crt1+.o ;fi mkdir /usr/local/gnu/lib/g++-include mkdir: /usr/local/gnu/lib/g++-include: File exists make: *** [install] Error 1 (ignored) chmod ugo+rx /usr/local/gnu/lib/g++-include bash$ exit script done on Tue Jan 9 03:16:51 1990 -- (setq mail '("tale@cs.rpi.edu" "tale@ai.mit.edu" "tale@rpitsmts.bitnet"))