Date: Thu, 9 Apr 1998 20:35:27 +0300 (IDT) From: Eli Zaretskii To: Ryuji Yokoyama cc: djgpp AT delorie DOT com Subject: Re: What did I miss ? In-Reply-To: <352cd371.749338@netnews.nyu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 9 Apr 1998, Ryuji Yokoyama wrote: > >Try the following: "redir -o err.log -eo g++ -v prog.cpp -o prog.exe" > > I got folllowing "err.log" file but not a.exe. That's because "-o prog.exe" tells the linker to produce prog.exe, like you'd expect. Observe: > ld -o prog.exe c:/djgpp/lib/crt0.o -Lc:/djgpp/lib/gcc-lib/djgpp/2.80 ^^^^^^^^^^^ See that "-o prog.exe"? This tells `ld' (the linker) to put the program on prog.exe. You should see prog.exe in there.