Message-ID: <3E653F1A.E0B6D72@yahoo.com> From: CBFalconer 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: <2593-Tue04Mar2003225335+0200-eliz AT elta DOT co DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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" > > 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. USE worldnet address!