[Top][All Lists]

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

Re: my favorite bug :-)

From: Werner LEMBERG
Subject: Re: my favorite bug :-)
Date: Fri, 01 May 2015 16:37:58 +0200 (CEST)

>> There is a big difference: If you compile a .c file, the .o files
>> stays by default; the compiler doesn't remove it.
> Uh, wrong?
> cd /tmp;echo "main(){return 0;}" >gega.c;gcc -o gega gega.c;ls gega*
> gega  gega.c

I've meant using option `-c' of the compiler.  BTW, if you specify
option `-o', does gcc create an intermediate file `gega.o' that
overwrites another file `gega.o' in the compilation directory?


reply via email to

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