Mail Archives: djgpp/2001/02/20/14:04:56
> From: "Ayer, Timothy C." <ayertimc AT pweh DOT com>
> 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.
- Raw text -