Werner LEMBERG <w...@gnu.org> writes:

>>> 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.

Uh, removing the actual end product of a command would be sort of
strange, wouldn't it?

> BTW, if you specify option `-o', does gcc create an intermediate file
> `gega.o' that overwrites another file `gega.o' in the compilation
> directory?

dak@lola:/tmp$ touch gega.o
dak@lola:/tmp$ gcc -o gega gega.c
dak@lola:/tmp$ ls -l gega.o
-rw-rw-r-- 1 dak dak 0 May  1 16:46 gega.o

No.  It is a safe bet that there _are_ intermediate files, but they'll
likely end up somewhere on /tmp or similar.

-- 
David Kastrup

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to