Date: Fri, 08 Jun 2001 14:41:14 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Tim Van Holder Message-Id: <5137-Fri08Jun2001144113+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: schultz AT ma DOT tum DOT de, djgpp AT delorie DOT com In-reply-to: <3B20A3DD.58DFC137@falconsoft.be> (message from Tim Van Holder on Fri, 08 Jun 2001 12:07:25 +0200) Subject: Re: long line with make & gcc References: <3B20A3C4 DOT 5F245A4A AT ma DOT tum DOT de> <3B20A3DD DOT 58DFC137 AT falconsoft DOT be> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Fri, 08 Jun 2001 12:07:25 +0200 > From: Tim Van Holder > > Add 'SHELL = /bin/sh' to your makefile and it should work; make uses > COMMAND.COM by default (for dealing with DOS-oriented makefiles), and > that causes the truncation. Not true. Make only calls COMMAND.COM if it sees some batch file or a built-in COMMAND.COM command, or if it doesn't find the command anywhere along PATH. Otherwise, Make uses its own internal emulator of COMMAND.COM which doesn't suffer from command-line limitations when DJGPP programs are invoked. (Actually, Make simply calls `system' from the library, and `system' is the one which has a COMMAND.COM emulator.)