delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/04/21:45:41

Message-ID: <3E653F1A.E0B6D72@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP and WinXP ... more help needed
References: <b43249$5f2$1 AT lacerta DOT tiscalinet DOT it> <2593-Tue04Mar2003225335+0200-eliz AT elta DOT co DOT il>
Lines: 28
Date: Wed, 05 Mar 2003 02:41:21 GMT
NNTP-Posting-Host: 12.90.174.205
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1046832081 12.90.174.205 (Wed, 05 Mar 2003 02:41:21 GMT)
NNTP-Posting-Date: Wed, 05 Mar 2003 02:41:21 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
> 
> > From: "Omar Morales" <omar DOT morales AT computer DOT org>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Tue, 4 Mar 2003 20:45:13 +0100
> >
> > It seems there is a limit of 126 chars in the gcc command line
> > lenght. It is correct?
> 
> Yes.  The Windows shell cannot invoke DOS programs with a command
> line that is longer than 126 characters.
> 
> > And if so, how can I work around it?
> 
> Do it via Make: create a Makefile with the long command line, and
> then invoke the compiler from the DJGPP port of GNU Make.  DJGPP
> programs have a method of passing long file names between them;
> see the FAQ for more details.

Or use a shell which can handle longer command lines, such as
4DOS.  Another one that is available to you on DJGPP is bash.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


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