[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug or mis-using ?

From: Paul D. Smith
Subject: Re: Bug or mis-using ?
Date: Tue, 16 Nov 2004 13:17:10 -0500

%% address@hidden writes:

  bk> I have a question about using mingw's make tool to development my
  bk> program.

  bk> When using mingw's make to compile (including LD, NM obj files),
  bk> the make said that "The input line is too long."  So I want to
  bk> know how many bytes do the make tool accept as the max-input
  bk> parameter bytes, and what shall I do to avoid this situation.

If you're talking about GNU make, it doesn't have any internal limits on
the number of prerequisites, command line lengths, etc. other than the
limits of your system's memory.

However, all operating systems I'm aware of have limits on the command
line length, and since make runs a command line it is subject to that
limit like any other program.

On UNIX this length is quite big; on Windows it's quite small if you're
using COMMAND.COM to run commands.  I think you can use a UNIX-type
shell on Windows and get a longer limit.

Reading the README.w32 file in the GNU make source distribution might
provide more insight.

You should contact the MINGW folks and/or ask on the address@hidden
mailing list since this question is very specific to Windows.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

[Prev in Thread] Current Thread [Next in Thread]