Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 20 Jul 2005 23:45:48 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: make 3.80 bug - running a program inside make Message-ID: <20050721034548.GA25539@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <6 DOT 2 DOT 3 DOT 4 DOT 0 DOT 20050720202749 DOT 032054b8 AT localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.2.3.4.0.20050720202749.032054b8@localhost> User-Agent: Mutt/1.5.8i On Wed, Jul 20, 2005 at 08:39:22PM -0700, turbo wrote: >I have some makefiles that fail to work correctly. >They worked about 6 months ago with cygwin. >They work fine on mandrake 10.2. > >Here is the first makefile problem: >In this makefile I run a program, i.e. > >test_calls: ${BIN}calls > rm -f calls.out > pwd > ${BIN}calls calls.in > calls.out > diff calls.out calls.gout > > >The output I get is >rm -f calls.out >pwd >/cygdrive/u/j/jeff-util/test >/cygdrive/u/j/bin/calls calls.in > calls.out >The system cannot find the path specified. >make: *** [test_calls] Error 1 > >I added the pwd line to make sure the directory exists. >When I remove the "> calls.out" in the makefile, the program runs, and >output is directed to standard output. > > >Here is the second makefile problem: > >the_test: test.o test_nr.o test_subrs.o jefflib > g++ ${LDFLAGS} test.o test_nr.o test_subrs.o jefflib -lm -o > the_test > @echo running the tests > ./the_test > the_test.lo 2> the_test.er ># the_test.exe > the_test.lo 2> the_test.er > -diff the_test.log the_test.lo > -diff the_test.erg the_test.er > >The output I get in the_test.er is: >'.' is not recognized as an internal or external command, >operable program or batch file. Judging by the error messages, it sounds like you have the "MAKE_MODE" environment variable set. If that is the case, you should unset it. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/