Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Sender: brendan AT edison DOT dialix DOT com DOT au Message-ID: <370DC963.AC0B38B5@dgs.monash.edu.au> Date: Fri, 09 Apr 1999 09:33:23 +0000 From: Brendan Simon Reply-To: brendan AT dgs DOT monash DOT edu DOT au Organization: CTAM Pty Ltd X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.0.36 i586) X-Accept-Language: en MIME-Version: 1.0 To: CygWin32 Subject: MAKE and MinGW32 problems. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I had problems with MAKE compiled for the MinGW32 environment. MAKE wasn't exucuting SHELL commands such as "echo". I solved this by prefixing the command with "c:/command.com /c" Now I have problems when trying to redirect output to files from within make. eg. CFLAGS = -Wall -O2 -D_DEBUG_ MYSHELL = c:/command.com /c ECHO = $(MYSHELL) echo default : $(ECHO) $(CFLAGS) > cflags.txt I get an error saying cygwin.dll could not be found. process_begin: CreateProcess(C:\BIN\sh.exe, C:/BIN/sh.exe -c "c:/command.com /c echo -Wall -O2 -D_DEBUG_ > cflags.txt", ...) failed. make (e=1157): One of the library files needed to run this application cannot be found. I don't understand why any program compiled with/for MinGW32 should be looking for cygwin.dll. I'm pretty sure I have redirected output to files with an older version of make (but I think that was compiled with DJGPP). I might have to dig that out or see if DJ has an updated one on his web site. I'd prefer to use a MinGW32 version though as I'm not sure what the future of DJGPP is (and I'd rather keep to one distribution). PS. I am using Win98, GNU MAKE 3.77 (from Mumit's site). Thanks, Brendan Simon. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com