Message-ID: <000101be4a45$48055360$e95c3c0a@lpend.intelliwatch.com> From: "Leslie W Pendleton" To: Subject: Problem with make and commands longer than 126 characters Date: Wed, 27 Jan 1999 17:35:00 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com I can't seem to get GNU Make 3.77 (djgpp v2.02) to run commands longer than 126 characters. The readme file seems to indicate that it should be able to but when I try I always get an error -1 back from make. I have tried using the bash port but it gives the same result. I running under NT 4.0 SP 4 and my environment has about 3 kb. The second set is just to show that the compiler will produce some out put when given a non-existent source file. The longer command works fine when run directly from the NT command prompt. I have set the DJDIR and DJGPP environment variables as follows: DJDIR=d:\djgpp DJGPP=d:\djgpp\djgpp.env Any help would be greatly appreciated. Thanks, Leslie Here is a really simple example (the compiler is the IBM visual age C++ AS/400 cross compiler): -------begin Makefile------- CC=iccas foobar: $(CC) -o d:/thisisareallyreallylongpathtotheobjectdirectory/foobar.o \ d:/thisisareallyreallylongdirectorytothesourcefile/src.cpp foobar2: $(CC) -o d:/objs/foobar.o d:/src/src.cpp -------end Makefile------- -------begin command/response------ U:\>make foobar iccas -o d:/thisisareallylongpathtotheobjectdirectory/foobar.o \ d:/thisisareallylongdirectorytothesourcefile/src.cpp make.exe: *** [foobar] Error -1 U:\>make -f make2 foobar2 iccas -o d:/objs/foobar.o d:/src/src.cpp IBM(R) VisualAge(TM) for C++ for AS/400(R), Version 3, Release 7 (C) Copyright IBM Corporation, 1995, 1996 - All Rights Reserved 5716-CX5 Licensed Materials - Property of IBM US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. (error) CTT3008: Source file d:/objs/foobar.o cannot be opened. (error) CTT3008: Source file d:/src/src.cpp cannot be opened. make.exe: *** [foobar2] Error 12 -------end command/response------