delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/14/07:40:29

Message-ID: <44632C76B97BD211AF6B00805FADCAB2063331FF@exchange.saltaire.pace.co.uk>
From: Magnus Lewis-Smith <Magnus DOT Lewis-Smith AT pace DOT co DOT uk>
To: "'eliz AT is DOT elta DOT co DOT il'" <eliz AT is DOT elta DOT co DOT il>,
"'djgpp AT delorie DOT com'"
<djgpp AT delorie DOT com>
Subject: FW: Make and command line length
Date: Thu, 14 Sep 2000 12:39:36 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

Some time ago, the following appeared on c.o.m.d.  You were kind enough to offer some advice to me recently regarding the use of DJGPP Perl with CVS and long command line issues -- namely an alpha-stage port of some system functions which make use of the CMDLINE variable.  

Is it possible to make use of your patches to enable Make to pass long commands to non-DJGPP applications?  How would I go about doing so?  I am currently using GNU Make version 3.79.1 (binaries from mak3791b.zip).  I presume I would need to get the sources, your patches and recompile Make (at least...).  Would any other tools need rebuilding?

As I mentioned before, my department is attempting to move to a standard open-source/Gnu environment running under windows, but not building windows apps.  To my mind, DJGPP is by far the more appropriate environment than Cygwin or others, but we are severely constrained by the command length limits imposed by DOS.  Passing commands from the makefile through response files is perceived here as a workaround rather than a solution.

Magnus Lewis-Smith
Software Engineer Common Code Group
Pace Micro Technology plc.,
Victoria Road, Saltaire, Shipley, West Yorkshire.
BD18 3LF
+44 (0)1274 537230
magnus DOT lewis-smith AT pace DOT co DOT uk

The E-mail and any attachments hereto are strictly confidential and
intended solely for the addressee. If you are not the intended addressee
please notify the sender by return and delete the message. You must not
disclose, forward or copy this E-mail or attachments to any third party
without the prior consent of the sender.



> Subject: Re: Make and command line length
> From: djgpp AT delorie DOT com
> Date: 2000/01/19
> Newsgroups: comp.os.msdos.djgpp
> 
> On Tue, 18 Jan 2000, Rossz =?iso-8859-1?Q?V=E1mos=2DWentworth?= wrote:
> 
> > Is MAKE.EXE truncating executed lines to 127 characters?
> 
> When invoking non-DJGPP programs, yes.  When Make invokes DJGPP
> programs, it passes long command lines (up to 16KB).
> 
> > Before Win95 the command line was limited to 127 characters.  However,
> > with the introduction of Win95 this limitation has been nearly
> > eliminated.
> 
> DJGPP doesn't yet support this method of passing long command lines.
> Somebody submitted changes for the appropriate library functions to
> include this support, so this feature will probably be included in the
> next release of DJGPP.
> 
> > With this in mind, wouldn't it make sense to modify Make allow for
> > longer lines?
> 
> The change should not be done in Make itself.  Make simply calls
> library functions to run programs, so the change should be done in
> those library functions.
> 
> 
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019