bug-lilypond
[Top][All Lists]
Advanced

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

Re: my favorite bug :-)


From: David Kastrup
Subject: Re: my favorite bug :-)
Date: Fri, 01 May 2015 16:47:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Werner LEMBERG <address@hidden> 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?

address@hidden:/tmp$ touch gega.o
address@hidden:/tmp$ gcc -o gega gega.c
address@hidden:/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



reply via email to

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