Newsgroups: comp.os.msdos.djgpp From: Twan Jans-Beken Subject: Re: MAKE, MINGW32 and ALLEGRO on WinNT X-Nntp-Posting-Host: pc1-jabe Content-Type: text/plain; charset=us-ascii Message-ID: <37A0400E.4EA7AA8@oce.nl> Sender: news AT oce DOT nl (The Daily News @ nntp01.oce.nl) Content-Transfer-Encoding: 7bit Organization: Oce-Technologies B.V. - Research & Development X-Accept-Language: en References: Mime-Version: 1.0 Date: Thu, 29 Jul 1999 11:50:39 GMT X-Mailer: Mozilla 4.6 [en] (Win95; I) Lines: 38 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com You are correct. I found a "make.exe" on ftp.franken.de (Mumit Kahn) and it works OK! By the way: When compiling Allegro for mingw32 I got an error from make that the environment variable "SYSTEMROOT" was not defined. I checked it and it appears that WinNT defines "SystemRoot". When I renamed it to the all uppercase variant everything worked. I don't know who should pickup this topic: Mumit, Shawn or Bill. Hopefully one of them is triggerd by the title of this message. Eli Zaretskii wrote: > On Fri, 23 Jul 1999, Twan Jans-Beken wrote: > > > --- Console output start --- > > C:\mingw\v\appgen>make > > g++ -c -IC:\mingw\v\includew -O2 -D_WIN32 -DDEVEL -DGNUWIN32 -o > > C:\mingw\v\obj\gnuwin32/vgcmdw.o vgcmdw.cpp > > make.exe: *** [C:\mingw\v\obj\gnuwin32/vgcmdw.o] Error -1 > > --- Console output end --- > > > > Now, when I type-in the exact same line manually it DOES work. Again, > > see the console-output below. > > This is probably because of the following problems: > > 1. You are running the DJGPP version of Make on NT4, where it cannot > access the long file names (ask Bill why not). So Make cannot > find g++, because `g++.exe' is an invalid DOS file name. > Solution: use the DOS file name (probably something like g~1.exe) > instead. > > 2. The command line is longer than 126 characters, and Make cannot > pass long command lines to non-DJGPP programs. > > In the long run, if you use Mingw32 a lot, you will probably be better > off if you install a native Win32 port of GNU Make (sorry, no URL).