www.delorie.com/archives/browse.cgi | search |
Date: | Thu, 25 Apr 1996 11:53:31 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Marcelo Cantos <mcantos AT ocean DOT com DOT au> |
Cc: | djgpp AT delorie DOT com |
Subject: | Re: C++ compiling |
In-Reply-To: | <4llhnr$pdu@news.mel.aone.net.au> |
Message-Id: | <Pine.SUN.3.91.960425115208.23363b-100000@is> |
Mime-Version: | 1.0 |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |