www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/02/11:21:45

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Where does command line length limitation come from?
Date: 2 Mar 2001 16:12:00 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 15
Message-ID: <97ogog$5ml$1@nets3.rz.RWTH-Aachen.DE>
References: <rvOBjBA6F8n6MAv8 AT teccon DOT co DOT uk>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 983549520 5845 137.226.32.75 (2 Mar 2001 16:12:00 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 2 Mar 2001 16:12:00 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Philip Boucherat <boucheratp AT teccon DOT co DOT uk> wrote:

> Is this limitation something in the shell or is it built in to the tools
> I built? 

It's in the shell. command.com, the Win95 command interpreter, has a
rather strict command line length limit. But DJGPP programs *among each
other* can pass virtually arbitrarily long command lines.

Calling DJGPP's gcc from a Makefile executed by DJGPP's port of GNU
make allows command lines of around 16K characters (more with a bit of
tweaking).
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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