From owner-freebsd-questions Fri Jul 9 10:31:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand.global.net.uk (unknown [195.147.248.109]) by hub.freebsd.org (Postfix) with ESMTP id 3FD3514D0D for ; Fri, 9 Jul 1999 10:31:36 -0700 (PDT) (envelope-from marko@globalnet.co.uk) Received: from p7as11a06.client.global.net.uk ([195.147.219.123] helo=marder-1.) by sand.global.net.uk with esmtp (Exim 2.05 #1) id 112eUb-0002s4-00; Fri, 9 Jul 1999 18:31:22 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id SAA00377; Fri, 9 Jul 1999 18:26:45 +0100 (BST) (envelope-from marko) Date: Fri, 9 Jul 1999 18:26:44 +0100 From: Mark Ovens To: Sebestyen Zoltan Cc: FreeBSD questions mailinglist Subject: Re: How to use egcs' libstdc? Message-ID: <19990709182644.B263@marder-1> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Sebestyen Zoltan on Fri, Jul 09, 1999 at 03:41:07PM +0200 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jul 09, 1999 at 03:41:07PM +0200, Sebestyen Zoltan wrote: > I would like to compile kde with egcs shipped with FBSD 3.2 and it > complains because of the original libstdc++, therefore I would like to > tell egcs somehow to use it's own libraries: > > configure:4974: checking for Qt > configure:5098: eg++ -o conftest -O2 -I/usr/local/qt/include > -I/usr/local/include -I/usr/X11R6/include -L/usr/local/qt/lib > -L/usr/local/lib -L/usr/X11R6/lib conftest.C -lqt -lpng -lz -lm -lICE > -lSM -lXext -lX11 1>&5 > /usr/lib/libstdc++.so.2: undefined reference to `__unwind_function' > /usr/lib/libstdc++.so.2: undefined reference to > `__find_first_exception_table_match' > /usr/lib/libstdc++.so.2: undefined reference to `__register_exceptions' > collect2: ld returned 1 exit status > If this is the same one that shipped with the 3.1 CDs then it's broken. Try grabbing the latest egcs package/port from ftp://ftp.freebsd.org. That's what I did, and I've built Qt 1.44 successfully with it: marder-1:/usr/local/lib{63}% egcc -v Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd3.2/gcc-2.95/specs gcc version gcc-2.95 19990524 (prerelease) There's probably a newer version than this now....yes there is, I've just looked: ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/packages/lang/egcs-devel-19990623.tgz HTH > > > -------------------------------------------------------------------------------- > Sebestyén Zoltán I don't care if you're going nowhere > just take good care of the world > MAKE INSTALL NOT WAR > > I use UNIX because reboots are for hardware upgrades. > > Kick me! Whip me!! Make me develop on AIX!!! > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:markov@globalnet.co.uk http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message