This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: RFC: Bug in specs processing


On Tue, Jul 22, 2008 at 04:53:19PM -0700, Mark Mitchell wrote:
> I noticed today that:
> 
>   gcc -c -o hw.o hw.c
> 
> removes hw.o if failure occurs during the compilation, but:
> 
>   gcc -c -ohw.o hw.c
> 
> does not.

Hmm.  About 20 years of gcc use, and this is the first time I
learned that the second command line choice was even legal.


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