delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/02/11:47:53

Date: Fri, 02 Mar 2001 18:44:34 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Philip Boucherat <boucheratp AT teccon DOT co DOT uk>
Message-Id: <2593-Fri02Mar2001184433+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <rvOBjBA6F8n6MAv8@teccon.co.uk> (message from Philip Boucherat on
Fri, 2 Mar 2001 15:51:22 +0000)
Subject: Re: Where does command line length limitation come from?
References: <rvOBjBA6F8n6MAv8 AT teccon DOT co DOT uk>
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

> From: Philip Boucherat <boucheratp AT teccon DOT co DOT uk>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 2 Mar 2001 15:51:22 +0000
> 
> I finally got round to building a M68K cross compiler from the V2.952
> gcc sources using djgpp on Windows 95 as my native compiler, but all the
> tools I've built have got a command line length limit of around 160
> characters.

Can you be more specific about the actual limitation?  Is it possible
that the limit is 126 characters, not 160?  I have never heard about
160-character limit.

The stock DOS and Windows shells have a 126-character limit on passing
commands line to and from DOS programs.  More accurately, the DOS
function which invokes programs supports 126-character command lines.
DJGPP programs work around this limitation by passing command lines
via a memory buffer.

As long as you use DJGPP programs to invoke other DJGPP programs, I
don't see how can you not get the long command lines that are a
standard DJGPP feature, unless you explicitly invoke COMMAND.COM.

- Raw text -


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