autoconf
[Top][All Lists]
Advanced

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

Re: Avoid redirecting to /dev/null


From: Noah Misch
Subject: Re: Avoid redirecting to /dev/null
Date: Fri, 4 Feb 2005 05:04:59 -0800
User-agent: Mutt/1.5.6i

On Fri, Feb 04, 2005 at 04:40:23PM +0530, Annamalai Gurusami wrote:
> Hi.
> 
> We are using autoconf tools for our project.  After doing ./configure
> when I issue the make command, the compiler output is being redirected
> to /dev/null.  How to avoid this redirection?

Libtool creates this behavior.  Please direct further queries to a Libtool list.

> if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. 
> -I ../base/  -g   -MT Telnet.lo -MD -MP -MF ".deps/Telnet.Tpo" -c -o 
> Telnet.lo Telnet.cc; \
> then mv -f ".deps/Telnet.Tpo" ".deps/Telnet.Plo"; else rm -f 
> ".deps/Telnet.Tpo"; exit 1; fi
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I ../base/ -g -MT Telnet.lo -MD -MP -MF 
> .deps/Telnet.Tpo -c Telnet.cc  -fPIC -DPIC -o .libs/Telnet.o
>  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I ../base/ -g -MT Telnet.lo -MD -MP -MF 
> .deps/Telnet.Tpo -c Telnet.cc -o Telnet.o >/dev/null 2>&1

Libtool builds each file twice, once PIC and once non-PIC.  Since the warnings
and errors probably do not differ between those passes, it suppresses output for
the second run.




reply via email to

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