[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ping Re: @file response file support for make
From: |
Joseph S. Myers |
Subject: |
Ping Re: @file response file support for make |
Date: |
Sun, 18 Mar 2007 20:49:04 +0000 (UTC) |
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 <address@hidden>
>
> * 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
address@hidden
- Ping Re: @file response file support for make,
Joseph S. Myers <=