X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: roy DOT liu AT gfmb DOT com DOT au (Roy Liu) Newsgroups: comp.os.msdos.djgpp Subject: Re: I'm having a bit of trouble with DJGPP Date: 11 Apr 2002 06:13:53 -0700 Organization: http://groups.google.com/ Lines: 67 Message-ID: <47ae8681.0204110513.20d1adce@posting.google.com> References: NNTP-Posting-Host: 203.22.101.11 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1018530833 5360 127.0.0.1 (11 Apr 2002 13:13:53 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 11 Apr 2002 13:13:53 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have exactly the same problem as Kodachi. I do not have an older version of gpp. I was testing the compiler with the simple hello world program immediately after installation of the binaries. I have tried (as suggested): gcc hello.cpp -o hello.exe -lstdcxx but got the message "c:\binutils\bin/ld.exe: cannot find -lstdcxx". running gxx hello.cpp -o hello.exe I got a whole page of errors as what Kodachi had. Can any help please? eplmst AT lu DOT erisoft DOT se (Martin Stromberg) wrote in message news:... > Kodachi (kodachi AT bsn1 DOT net) wrote: > : I'm having a bit of trouble with DJGPP and the GCC 3.04. > : my short temporary program of> > > : #include > : #include > > : int main() > : { > > : std::string temp("Good Bye World"); > : std::cout<<"Hello World /n"; > : std::cout< : std::cin>>temp; > : std::cout< : return (0); > : } > > : gives me a long error message like> > > ... > > : undefined reference to `std::locale::locale(std::locale const&)' > : c:/djgpp/tmp\ccC5TsaX.o(.gnu.linkonce.t._ZNSt8ios_base5pwordEi+0x3a):temp.cc > : : un > : defined reference to `std::ios_base::_M_grow_words(int)' > : c:/djgpp/tmp\ccC5TsaX.o(.eh_frame+0x12):temp.cc: undefined reference to > : `__gxx_p > : ersonality_v0' > : collect2: ld returned 1 exit status > > : What the does that mean. > > 1. Don't use foul language. > > 2. Because of 1, that post won't be mailed to the mailing list, which > means your question will reach less people, which means you're only > hurting your chances of a reply. > > 3. You probably didn't read the instruction when reinstalling > gpp*b.zip. > > 4. If you did, you'd find out that you should uninstall the old gpp > before installing a newer. > > 5. How to uninstall is in the FAQ. > > > Right, > > MartinS