Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 1999 18:26:44 +0100
From:      Mark Ovens <markov@globalnet.co.uk>
To:        Sebestyen Zoltan <szoli@netvisor.hu>
Cc:        FreeBSD questions mailinglist <freebsd-questions@freebsd.org>
Subject:   Re: How to use egcs' libstdc?
Message-ID:  <19990709182644.B263@marder-1>
In-Reply-To: <Pine.LNX.4.04.9907091535110.20802-100000@linux.intranet.netvisor.hu>; from Sebestyen Zoltan on Fri, Jul 09, 1999 at 03:41:07PM %2B0200
References:  <Pine.LNX.4.04.9907091535110.20802-100000@linux.intranet.netvisor.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <szoli@netvisor.hu>	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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990709182644.B263>