www.delorie.com/archives/browse.cgi | search |
Date: | Wed, 26 May 1999 13:12:41 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Chris Mears <chris_mears AT softhome DOT net> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: problem |
In-Reply-To: | <374BAFA5.554C4A4A@softhome.net> |
Message-ID: | <Pine.SUN.3.91.990526131108.12179C-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |