From owner-freebsd-questions Thu Feb 18 23:28:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lab321.ru (anonymous1.omsk.net.ru [62.76.128.34]) by hub.freebsd.org (Postfix) with ESMTP id C672311077 for ; Thu, 18 Feb 1999 23:27:51 -0800 (PST) (envelope-from kev@lab321.ru) Received: from www.lab321.ru (kev@www.lab321.ru [62.76.129.65]) by lab321.ru (8.9.3/8.9.3) with SMTP id NAA10446; Fri, 19 Feb 1999 13:15:52 +0600 (OS) Date: Fri, 19 Feb 1999 13:15:52 +0600 (OS) From: Eugeny Kuzakov To: Dan Yergeau Cc: freebsd-questions@freebsd.org Subject: Re: gcc28&egcs 1.1.1 from ports troubles In-Reply-To: <199902181848.KAA05755@gloworm.Stanford.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 18 Feb 1999, Dan Yergeau wrote: > >bash-2.02$ /usr/local/bin/g++ -o c c.C > >/usr/lib/libstdc++.so: undefined reference to `__unwind_function' > ^^^^^^^^ I see...:( > It looks like you are trying to link a .o compiled with 2.8.1 > (or egcs) with the libraries from 2.7.x. That won't work because of > changes in the exception mechanism between 2.7.x and 2.8.x/egcs. Agree. > With gcc-2.8.1, did you install the C++ runtime library > (libstdc++-2.8.1, distributed separately)? Yes, when I tryed gcc 2.8.1. When - egcs, its distribution contains libstdc++. I know it. May be ...port glibstdc++ not good? I will try to recompile it. I think, that it setup not all... -- Best wishes, Eugeny Kuzakov Laboratory 321 ( Omsk, Russia ) kev@lab321.ru ICQ#: 5885106 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message