Date: Thu, 25 Apr 1996 11:53:31 +0200 (IST) From: Eli Zaretskii To: Marcelo Cantos Cc: djgpp AT delorie DOT com Subject: Re: C++ compiling In-Reply-To: <4llhnr$pdu@news.mel.aone.net.au> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 24 Apr 1996, Marcelo Cantos wrote: > You may also need to include the standard C++ library: "-lstdcx". In short: > gcc hellocpp.cc -IC:\djgpp\lang\cxx -o hellocpp.exe -lgpp -lstdcx > If you use gxx, you don't need -IC:\... or -lgpp. Make sure you set the DJDIR Actually, `gcc' also doesn't need the above -I switch when you submit a file with and extension such as .cc which tells gcc it's a C++ program.