From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14328 invoked by alias); 8 Feb 2002 16:31:09 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14234 invoked from network); 8 Feb 2002 16:31:05 -0000 Received: from unknown (HELO softhome.net) (66.54.152.27) by sources.redhat.com with SMTP; 8 Feb 2002 16:31:05 -0000 Received: from there ([208.180.217.244]) by softhome.net with esmtp; Fri, 08 Feb 2002 09:25:36 -0700 From: Thomas Reply-To: spiralman@softhome.net To: gcc-help@gcc.gnu.org Subject: Re: c++ linking probs after gcc 3.0.3 upgrade Date: Fri, 08 Feb 2002 08:31:00 -0000 X-Mailer: KMail [version 1.3.2] References: <5.1.0.14.0.20020206230345.00aa39c8@popmail.inwind.it> In-Reply-To: <5.1.0.14.0.20020206230345.00aa39c8@popmail.inwind.it> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Message-ID: X-Mime-Autoconverted: from 8bit to 7bit by courier 0.36.1 X-SW-Source: 2002-02/txt/msg00087.txt.bz2 ok, i might try checking what glibc i need. but the thing is, these problems im having dont seem to be related to libc (in my uninformed opinion). i thought that libc was c only, not c++, and all the problems im having are with c++ specific things. even if libc does have c++ functions in it __builtin_delete should be a function of a compiler. isnt it whats added to the destructor of a class when you dont explicitly delete a member fo that class that you created with new? so, i guess my question is, is this a libc problem or not, and if not, what is it a problem with. the main reason im having problems is i dont really know where to look for something that is misconfigured or whatever... thanks thomas spiralman@softhome.net On Wednesday 06 February 2002 04:07, you wrote: > At 17.58 05/02/2002 (GMT -0600), Thomas wrote: > >ok, i upgraded to gcc 3.0.3, first by compiling from source, and then i > > got a bunch of undefined references to functions and whatnot in > > iostream.h (endl, cout, etc). then i installed the gcc 3.0.3 slackware > > package (im running slackware 7.1, but ive upgraded it a lot), and now i > > get all those errors, plus undefined references to "__builtin_delete" and > > the like. im assuming im linking to the wrong librarys or something, but > > im not sure. do i have to install a new version of libc? > > I don't know what's the minimum version of glibc you need to build GCC. > There's a page on the site devoted to all the successful GCC builds, > pointing to the posts of who managed to do so. So you might have a look if > there's anything related to Slackware 7.1. > Anyway, I think glibc 2.2.3 or newer will be fine. > > >i remember reading the gcc 3.x cant compile > >libc. > >i tried doing a "make uninstall" in my source tree, but i get an error > >that that isnt supported in that tree. > > > >if you need more info, just tell me > > > >thanks in advance > >thomas > >spiralman@softhome.net > > HTH > fwyzard