bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: some clean rules don't work when some file starts with '-'


From: Vincent Lefevre
Subject: Re: some clean rules don't work when some file starts with '-'
Date: Fri, 21 Mar 2008 11:26:00 +0100
User-agent: Mutt/1.5.17-vl-r21552 (2008-03-11)

On 2008-03-21 08:24:34 +0100, Ralf Wildenhues wrote:
> But you still can't pass such a file to the linker without additional
> hassles.  So why not use 'gcc -xc -c -o ... -'?

Of course I can use it. But before seeing the error with "make clean",
I didn't know this could be a problem. And such problems could also
happen in the future since in most cases, using "-o ..." is useless
with "-c". Files starting with "-" are allowed by most tools (one
sometimes needs to take care of that, e.g. by using "./" or "--",
depending on the context, but anyway, this is a good habit to take
at least for security reasons).

-- 
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]