X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: making dxe2gen with clio.rice.edu binaries -or- "undefined reference to 'operator'"? Date: Wed, 03 Apr 2002 19:34:24 +0300 Lines: 15 Message-ID: <3CAB2F10.39709DD9@is.elta.co.il> References: <3ca78d87$0$364$9b622d9e AT news DOT freenet DOT de> <3cab2f26$0$152$9b622d9e AT news DOT freenet DOT de> NNTP-Posting-Host: 192.116.55.139 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1017851920 23844935 192.116.55.139 (16 [61365]) X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com deckerben wrote: > > Now I understand. GPP is a c++-flavoured compiler and GCC is a C-flavoured > compiler. > So libstdc++ is the standard c++ definitions library... I found all the info > under %DJGPP%\..\gnu\gcc-3.04\libstdcxx ... explains all about it. I just > need to have the time to read it all :-) > The problem is that many packages that have not been updated do not > understand the need to link with this library. Many makefiles just call gcc > for everything. > > Is there a way to configure GCC to link with libstdc++ automaticly or send > the code to GPP if needed? For a well-written Makefile, saying "make CC=gpp" should be enough.