From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: Where does command line length limitation come from? Date: Fri, 2 Mar 2001 12:10:53 -0500 Lines: 41 Message-ID: <97ok4g$qbtf7$1@ID-57378.news.dfncis.de> References: NNTP-Posting-Host: nas-203-8.rochester.navipath.net (64.20.203.8) X-Trace: fu-berlin.de 983552977 27653607 64.20.203.8 (16 [57378]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Something around 128 (or 126) bytes is an MSDOS limit. This is due to a fixed size of a Program Segment Prefix (PSP) which contains command line of a program. There are a few ways to pass more than 126 bytes as parameters to DJGPP. See the FAQ. Good Luck -- Alexei A. Frounze alexfru [AT] chat [DOT] ru http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/ "Philip Boucherat" wrote in message news:rvOBjBA6F8n6MAv8 AT teccon DOT co DOT uk... > Hi, > > 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. The only reason I tried doing this in the first place was to > get round this limitation on the V2.7.2 tools I got from > ftp.lysator.liu.se > > Is this limitation something in the shell or is it built in to the tools > I built? Or maybe neither of these ... > > I don't think it's the shell because the djgpp compiler seem to accepts > command lines of any length. > > Cheers, > > Phil > > -- > Philip Boucherat