%% [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
mailing list since this question is very specific to Windows.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          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


_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to