From: "DeHackEd" Newsgroups: comp.os.msdos.djgpp References: <3798558D DOT 37300815 AT oce DOT nl> Subject: Re: Problem with "make 3.77" on NT4 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Fri, 23 Jul 1999 18:17:58 GMT NNTP-Posting-Host: 142.194.131.1 X-Trace: cabot.ops.attcanada.net 932753878 142.194.131.1 (Fri, 23 Jul 1999 18:17:58 GMT) NNTP-Posting-Date: Fri, 23 Jul 1999 18:17:58 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > 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 Most likely cause: 3 words: long file names. "G++" is the name of an EXE that has to be run, and the letter "+" is not valid in standing naming conventions. DJGPP programs can't use NT long filenames because Microsoft changed the way these are handled from 95/98. Of course, the DOS prompt itself is part of WinNT and can access longfilenames fine. Possible solutions: 1) If you have a program called GXX in your bin directory, modify the makefile to use "GXX" instead of "G++". You can copy G++.EXE to GXX.EXE if you want. 2) Use the standard GCC command and add -lstdcx to the link phase. You will probably have another long filename issue when "STDCX" and "STDCXX" collide, so read the FAQ for those details. Yet another reason we all hate Windows NT. 95 is good, 98 is ok, NT has it's up-points, but DOS isn't one of them. -- DeHackEd No emails, the address is fake.