www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Date: | Sat, 23 Oct 2004 13:57:11 +0200 |
From: | "Eli Zaretskii" <eliz AT gnu DOT org> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | djgpp AT delorie DOT com |
Message-ID: | <01c4b8f7$Blat.v2.2.2$96d08f60@zahav.net.il> |
X-Mailer: | emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 |
In-reply-to: | <Hx_dd.8697$6q2.4445@newssvr14.news.prodigy.com> |
(one2001boy AT yahoo DOT com) | |
Subject: | Re: tar.exe problem |
References: | <DvKcd.15034$nj DOT 12695 AT newssvr13 DOT news DOT prodigy DOT com> <2thjecF1urnn1U1 AT uni-berlin DOT de> <48Fdd.16708$nj DOT 14914 AT newssvr13 DOT news DOT prodigy DOT com> <01c4b72d$Blat.v2.2.2$08f4f8a0 AT zahav DOT net DOT il> <Hx_dd.8697$6q2 DOT 4445 AT newssvr14 DOT news DOT prodigy DOT com> |
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: "one2001boy AT yahoo DOT com" <one2001boy AT yahoo DOT com> > Date: Fri, 22 Oct 2004 02:48:07 GMT > > Then, I added one more file to tar. It gets the error message. > "The system cannot execute the specified program." > > C:\>tar cvf ctree.tar \cc\toolkit\sbin\qanitest.exe > \cc\toolkit\demos\mechanism\chapters\startup\animatestCR.cc > \cc\toolkit\include\fourbar.h > The system cannot execute the specified program. > [...] > I just calculate the total number of characters including space > for > "tar cvf ctree.tar \cc\toolkit\sbin\qanitest.exe > \cc\toolkit\demos\mechanism\chapters\startup\animatestCR.cc > \cc\toolkit\include\fourbar.h" > > it is only 138 characters. I think MSDOS supports at least 1024 > characteres for command line. No, the maximum command-line length that Windows can give to a DOS program is 126. So this last command is too long. DJ Delorie suggested to use the Make utility to have up to 14KB long command lines. Someone else, I think it was Hans-Bernhard, suggested to use the response file facility (see section 16.4 of the DJGPP FAQ list for details). These are two ways to work around the 126-character limitation.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |