Date: Tue, 20 Feb 2001 21:02:19 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <1659-Tue20Feb2001210218+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: ayertimc AT pweh DOT com In-reply-to: <2F2743F3C3ADD311BE0000508B1089B107E33582@ehposrv19.eh.pweh.com> (ayertimc AT pweh DOT com) Subject: Re: Make 3.79 build on NT References: <2F2743F3C3ADD311BE0000508B1089B107E33582 AT ehposrv19 DOT eh DOT pweh 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 Precedence: bulk > From: "Ayer, Timothy C." > Date: Tue, 20 Feb 2001 13:29:49 -0500 > > I have been using make-3.79 on WNT for several months now. Many of the > applications link a large number of objects. For these particular projects > I get "The input line is too long" in the link phase of building the > executable. Please cite the error message _exactly_. Was it "Command line too long"? If so, please make sure that both Make and the compiler you are invoking from inside Make are DJGPP programs. The method of passing long command lines is private to DJGPP programs and won't work with non-DJGPP programs. > I started reading the "README" files located in the make build directory. > The README.DOS file seems to indicate that I should be able to execute a > commands (link for example) in make with up to approximately 16,000 > characters. That's true. > I am trying to execute a "link" command with approximately > 8,000 to 10,000 characters and I get a message from the MS-DOS Prompt "The > input line is too long" and the link command fails. What is the size of your environment? The 16KB size includes the command line and the environment you are passing to the child programs. If your environment approaches 6KB (I find it hard to believe, since it is a very rare phenomenon), you might be exceeding the 16KB limit. You can use the stubedit.exe program from djdev203.zip DJGPP development kit to enlarge the size of the transfer buffer used by make.exe to pass command lines and environment to child programs. Try enlarging to 32k and see if that helps; if not, there's some other factor at work.