4.2 Project: "@file" support

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Thu Aug 25 12:09:00 GMT 2005


Marcin Dalecki wrote:
> 
> On 2005-08-25, at 09:14, Christoph Hellwig wrote:
> 
>> That's what I meant with my comment btw.  It's a horrible idea to
>> put in all the junk to support inferior OSes into gcc and all other
>> other programs, and with cygwin and djgpp there are already two nice
>> enviroments for that.
> 
> man xargs?

How are you going to use xargs for

    gcc -o myprog `find $dir -name "*.c"`

If $dir is 50 characters long, it only takes 500 files before it 
overflows a 32k command line.

@file was a *very* useful feature when I worked on compiling libjava one 
directory at a time.  And it solved PR20155 as well.

Paolo



More information about the Gcc-patches mailing list