delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/24/19:20:12

From: MarkJ AT Datafit DOT co DOT uk (Mark Johnson)
Subject: Command line length limit
24 Nov 1997 19:20:12 -0800 :
Message-ID: <c=GB%a=_%p=Datafit.%l=HERCULES-971124112325Z-309.cygnus.gnu-win32@dover.datafit.co.uk>
Mime-Version: 1.0
To: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>

I happen to have a makefile where a target has several hundred 
dependencies (it is a zipfile).

Unfortunately the win32 make reports an execvp error when attempting 
to exec the shell, either bash or cmd.exe, with the dependency list or 
export the dependency list as an environment variable.

I can of course have a number of sub targets to keep the length of the 
dependency list down, but what is the maximum limit?

Any other possible workaround would also be appreciated. I have tried 
echoing to a tempfile or the environment, then invoking zip to read 
from the appropriate source but with no success.

I may be able to make use of the facilities for archives, but it 
wasn't clear to me whether I could use utilities designed for a 
different file format in place of the default ones. Does make 
understand the internals of archive files?

Thanks for your help.

Mark Johnson
Datafit Ltd.
Huntingdon
UK

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019