Mail Archives: djgpp/1999/02/03/13:24:39
On Wed, 3 Feb 1999, Christian Henz wrote:
> Yesterday I wrote a small prog and
> compiled it using the -s switch. I have used it before and never had any
> problems but yesterday I had to realize that my source-file was messed up.
> It wasn`t readable anymore, about 44K large while the .o file was only 4K
> large.
This usually happens when you by mistake type something like this:
gcc -o foo.c foo.c bar.c ...
The "-o foo.c" part is the problem: it nukes the source file, overwriting
it with the executable.
- Raw text -