This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Specifying command line arguments in a file?


On Apr 27, 2001, Matt Hiller <hiller@redhat.com> wrote:

> 	Perhaps xargs instead, then? That's not shell-dependent.

Unfortunately, xargs is not as portable as one might like.

Passing arguments in a command file, instead of as explicit arguments,
is often useful to overcome command-line length limitations.  On
certain OSs, this limit is too low to link large applications, lest to
say to pass lots of arguments.  But then, it's not just a matter of
the compiler driver supporting command files: the tools the compiler
driver runs, such as the actual compiler, the assembler and, often
more importantly, the linker, must also support them, and the driver
may have to be able to tell when it's necessary to use this support.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]