Ping. Any views on this patch or the principle of this feature <http://lists.gnu.org/archive/html/bug-make/2006-09/msg00008.html>?
On Thu, 7 Sep 2006, Joseph S. Myers wrote: > Sometimes you wish to invoke a program with too many or too long arguments > to fit in ARG_MAX. For example, I have a case where a script wishes to > invoke make with many -o options. > > There is a de facto standard solution to this problem, which is that a > command line argument of the form "@file" causes arguments to be read from > "file" (a "response file") if it exists. (If "file" doesn't exist, > "@file" is taken literally as an ordinary command-line argument.) This > feature is supported by GCC and GNU binutils, for example; I think it > originated on Windows, but it is useful everywhere with any command line > limit. > > I'd like to have this feature in GNU make. The patch below is my current > implementation of it for CVS HEAD make. argv.c, the main part of the > implementation, is taken from GNU libiberty as used by GCC and binutils to > implement this feature, with a minimum of changes to be usable without the > rest of libiberty. The documentation is also taken from libiberty. > > 2006-09-07 Joseph Myers <[EMAIL PROTECTED]> > > * argv.c: New. From libiberty. > * Makefile.am (make_SOURCES): Add argv.c. > * doc/make.texi: Update. > * main.c (main): Call expandargv. > * make.h (buildargv, freeargv, dupargv, expandargv): Declare. -- Joseph S. Myers [EMAIL PROTECTED] _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make