Date: Wed, 26 May 1999 13:12:41 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Chris Mears cc: djgpp AT delorie DOT com Subject: Re: problem In-Reply-To: <374BAFA5.554C4A4A@softhome.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 26 May 1999, Chris Mears wrote: > > > C:\>gcc hello.cpp -o > > > > This is wrong: it should say "gxx hello.cpp -o hello.exe". Note the use > > of gxx and the target file name after -o. > > Why do we use gxx instead of gcc? Because gcc doesn't instruct the linker to search the C++ libraries, so you would need to type their names yourself. See section 8.7 of the FAQ for more details.