Date: Tue, 10 Feb 1998 13:27:00 +0200 (IST) From: Eli Zaretskii To: Robb Beggs cc: djgpp AT delorie DOT com Subject: Re: Arrgh! In-Reply-To: <01bd35a9$d696e3c0$86f0a3c6@tracybuc> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 9 Feb 1998, Robb Beggs wrote: > My first > program compiled successfully. But all is not well. I thought when a > program is compiled a .obj is created. I couldn't find one. First, object files produced by GCC are called .o, not .obj, unless yo explicitly say something like "gcc -o foo.obj" (which a Bad Idea). And second, when you compile and link in one step, all the object files are deleted by GCC after the linker exits. GCC assumes that when you compile and link in one step, you don't want the object files at all, only the executable program.