From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2481 invoked by alias); 21 Oct 2004 04:35:35 -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 2465 invoked from network); 21 Oct 2004 04:35:33 -0000 Received: from unknown (HELO mail2.intec.co.za) (196.30.79.203) by sourceware.org with SMTP; 21 Oct 2004 04:35:33 -0000 Received: from localhost (localhost.intec.co.za [127.0.0.1]) by mail2.intec.co.za (Postfix) with ESMTP id 5178B28462; Thu, 21 Oct 2004 06:35:29 +0200 (SAST) Received: from mail2.intec.co.za ([127.0.0.1]) by localhost (mail2.intec.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23525-02; Thu, 21 Oct 2004 06:35:20 +0200 (SAST) Received: from intec.co.za (news.intec.co.za [196.30.79.205]) by mail2.intec.co.za (Postfix) with ESMTP id 83EB428442; Thu, 21 Oct 2004 06:35:20 +0200 (SAST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Using std::basic_string results in link error Date: Thu, 21 Oct 2004 04:35:00 -0000 Message-ID: <9F6C06DD358A58458921D913A8C8BF7A7C3130@itszaex01.intec.co.za> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Lourens Janse van Rensburg" To: "Jean-Francois Im" , X-Virus-Scanned: by amavisd-new at intec.co.za X-SW-Source: 2004-10/txt/msg00169.txt.bz2 I had the same thing -- a kind gentleman named Mathieu Fluhr sent me a modified version of char_traits.h, which I simply dropped into gcc-home-directory/include/c++/3.x/bits/ and replaced the old one with his modified one. Fixed all my problems. I don't know if I'm allowed to give the file to you but I'm sure if you ask him he will send it to you. They say it's been fixed in libstdc++ 6 which comes with gcc 3.4, but I haven't verified this. I have to stick with gcc 3.2.3 for now. See also: http://lists.debian.org/debian-gcc/2004/08/msg00271.html Lourens... -----Original Message----- From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On Behalf Of Jean-Francois Im Sent: 19 October 2004 21:41 To: gcc-help@gcc.gnu.org Subject: Using std::basic_string results in link error The cause of this problem seems to be rooted in the fact that templates are in libstdc++ instead of being compiled when using the STL. Is there a parameter that can be passed to g++ to tell it to compile the STL templates on the fly instead of using the precompiled ones?