automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiler invocation is not echoed in version 1.5


From: Andy Helten
Subject: Compiler invocation is not echoed in version 1.5
Date: Tue, 20 Nov 2001 14:16:48 -0500

Hello,

I am updating to automake 1.5 when I noticed what is printed to screen
from 'make' has changed.  I previously would run 'make' with the '-s'
flag so that not every step in the compilation was printed to screen.
Simply using '-s' reduced what was printed to screen down to only the
"Making all in ..." and the actual compiler invocation "c++ppc ...".
With automake 1.5, using '-s' eliminates printing of the compiler
invocation (this is bad for me).  When I don't use '-s' I get a bunch of
extraneous information that makes it hard to read and follow, especially
when trying to figure out the path to the file that was compiled (the
`test -f xxx || echo 'xxx'` stuff).

It appears the source of the rules in question (for .cpp.o) is
depend2.am.  It looks like the compiler line is no longer being echoed,
which explains why the '-s' flag eliminates it all together.  I hacked
depend2.am to get the output I wanted.  Is there any other way to do
this via automake flags or otherwise (i.e. a project specific
depend2.am)?  If not, could automake's depend2.am be modified to produce
the more readable output of version 1.4?


Automake 1.5 compiler invocation printed to screen:
--------------------------------------------------

source='../../../../src/lib/demo/demo.cpp' object='demo.o' libtool=no \
depfile='.deps/demo.Po' tmpdepfile='.deps/demo.TPo' \
depmode=gcc /bin/sh ../../../.././makeConfig/depcomp \
/opt/cots/vxWorks/pwrpc/tornado/host/sun4-solaris2/bin/c++ppc
-DPACKAGE=\"momprj\" -DVERSION=\"1.0\" -DCGAI30=1 -DCPU=PPC604
-DBOARD_TYPE=0x5100 -DUNIX_BUILD=1  -DDEBUG -DARCHIVE  -I.
-I../../../../src/lib/demo -I. -I../../../../src/lib/demo
-I../../../../src/demo -I../../../../src/messages
-I../../../../src/momConfig -I../../../../../mom/src/sysutils
-I../../../../../mom/src/kernelutils -I../../../../../mom/src/ethernet
-I../../../../../mom/src/mainctrl -I../../../../../mom/src/lanctrl -I.
-I/opt/cots/vxWorks/pwrpc/tornado/target/h
-I/opt/cots/vxWorks/pwrpc/tornado/target/config/mv5100
-I/opt/cots/vxWorks/pwrpc/tornado/target/config/all
-I/opt/cots/vxWorks/pwrpc/tornado/target/h/drv/pci -DRW_MULTI_THREAD
-D_REENTRANT -DSYS_VXWORKS -DCGA  -g -nostdinc -mlongcall -fno-builtin
-ansi -fvolatile -fno-builtin -fno-for-scope -g -O2 -c -o demo.o `test
-f ../../../../src/lib/demo/demo.cpp || echo
'../../../../src/lib/demo/'`../../../../src/lib/demo/demo.cpp


Automake 1.4 compiler invocation printed to screen:
--------------------------------------------------

/opt/cots/vxWorks/pwrpc/tornado/host/sun4-solaris2/bin/c++ppc
-DPACKAGE="momprj" -DVERSION="1.0" -DCGAI30=1 -DCPU=PPC604
-DBOARD_TYPE=0x5100 -DUNIX_BUILD=1 -DDEBUG -DARCHIVE -I.
-I../../../../src/lib/demo -I. -I../../../../src/lib/demo
-I../../../../src/demo -I../../../../src/messages
-I../../../../src/momConfig -I../../../../../mom/src/sysutils
-I../../../../../mom/src/kernelutils -I../../../../../mom/src/ethernet
-I../../../../../mom/src/mainctrl -I../../../../../mom/src/lanctrl -I.
-I/opt/cots/vxWorks/pwrpc/tornado/target/h
-I/opt/cots/vxWorks/pwrpc/tornado/target/config/mv5100
-I/opt/cots/vxWorks/pwrpc/tornado/target/config/all
-I/opt/cots/vxWorks/pwrpc/tornado/target/h/drv/pci -DRW_MULTI_THREAD
-D_REENTRANT -DSYS_VXWORKS -DCGA -g -nostdinc -mlongcall -fno-builtin
-ansi -fvolatile -fno-builtin -fno-for-scope -g -O2 -c -o demo.o
../../../../src/lib/demo/demo.cpp


Thanks,

Andy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]