From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1998 invoked by alias); 30 Nov 2001 14:58:05 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 807 invoked from network); 30 Nov 2001 14:56:40 -0000 Received: from unknown (HELO demokritos.cytanet.com.cy) (195.14.133.252) by hostedprojects.ges.redhat.com with SMTP; 30 Nov 2001 14:56:40 -0000 Received: from sinisa.nasamreza.org.cytanet.com.cy (la-5-110.cytanet.com.cy [195.14.141.110]) by demokritos.cytanet.com.cy (8.11.4/8.11.4) with SMTP id fAUEubG06256 for ; Fri, 30 Nov 2001 16:56:37 +0200 (EET) From: Sinisa Milivojevic MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15367.40775.654107.915798@sinisa.nasamreza.org> Date: Thu, 22 Nov 2001 23:54:00 -0000 To: gcc@gcc.gnu.org Subject: __cxa_pure_virtual X-Mailer: VM 6.96 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid Reply-To: sinisa@mysql.com X-SW-Source: 2001-11/txt/msg01120.txt.bz2 Hi! Sorry for bothering you. Please CC: a reply to me as I am not a member of the list. Is there a way of compiling a C++ file, which does not contain any references to STL classes, so that resultant object file will have no references to the above symbol, defined in pure.cc of libstdc++. This is a problem in 3.0[1,2] I have tried using gcc for CXX, setting -fno-rtti -fno-exceptions, but still libstdc++ has to be linked in , due to the above symbol. Any solution or work-around ?? Many thanks in advance. -- Regards, __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus <___/ www.mysql.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sinisa Milivojevic To: gcc@gcc.gnu.org Subject: __cxa_pure_virtual Date: Fri, 30 Nov 2001 06:58:00 -0000 Message-ID: <15367.40775.654107.915798@sinisa.nasamreza.org> X-SW-Source: 2001-11/msg01621.html Message-ID: <20011130065800.YVlEF-7Kw_CVbulcUFKWq_eMlvPEGLelWLpn1tw6PHw@z> Hi! Sorry for bothering you. Please CC: a reply to me as I am not a member of the list. Is there a way of compiling a C++ file, which does not contain any references to STL classes, so that resultant object file will have no references to the above symbol, defined in pure.cc of libstdc++. This is a problem in 3.0[1,2] I have tried using gcc for CXX, setting -fno-rtti -fno-exceptions, but still libstdc++ has to be linked in , due to the above symbol. Any solution or work-around ?? Many thanks in advance. -- Regards, __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus <___/ www.mysql.com