Mail Archives: djgpp/2001/03/02/12:42:52
In message <2593-Fri02Mar2001184433+0200-eliz AT is DOT elta DOT co DOT il>, Eli
Zaretskii <eliz AT is DOT elta DOT co DOT il> writes
>> 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.
Eli,
Thanks for that, I think that must be the problem as I am using
Microsoft NMAKE to invoke the compiler and other tools. From what you
say, if I switch over to using GNU make (the DJGPP version), then this
problem will go away,
Cheers,
Phil
--
Philip Boucherat
- Raw text -