X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Mon, 29 Nov 2004 20:00:11 -0500 Message-Id: <200411300100.iAU10B3X024156@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <002301c4d623$ecfcb3c0$ef2da653@johvi.vnet.ee> (alekst@hot.ee) Subject: Re: HELP, plz ... References: <000a01c4d61b$340c5120$ef2da653 AT johvi DOT vnet DOT ee> <200411300038 DOT iAU0cNhl023816 AT envy DOT delorie DOT com> <002301c4d623$ecfcb3c0$ef2da653 AT johvi DOT vnet DOT ee> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > But what about older versions of DJGPP? This part still applies: > > > gcc test.cpp -o test.exe -Wno-deprecated > > > > This is the wrong command line. For C++ programs, use the C++ compiler: > > > > g++ test.cpp -o test.exe > > > > (or gxx for DOS systems) The problem is that you weren't linking in the C++ runtime libraries.