delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/04/16:00:19

Date: Tue, 04 Mar 2003 22:53:35 +0200
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: omar DOT morales AT computer DOT org
Message-Id: <2593-Tue04Mar2003225335+0200-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <b43249$5f2$1@lacerta.tiscalinet.it> (omar.morales@computer.org)
Subject: Re: DJGPP and WinXP ... more help needed
References: <b43249$5f2$1 AT lacerta DOT tiscalinet DOT it>
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: "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.

- Raw text -


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