From owner-freebsd-current Mon Mar 1 16:44:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from ix.netcom.com (sil-wa15-25.ix.netcom.com [207.93.148.25]) by hub.freebsd.org (Postfix) with ESMTP id 9CF8615450 for ; Mon, 1 Mar 1999 16:43:18 -0800 (PST) (envelope-from tomdean@ix.netcom.com) Received: (from tomdean@localhost) by ix.netcom.com (8.9.3/8.8.8) id QAA57349; Mon, 1 Mar 1999 16:42:43 -0800 (PST) (envelope-from tomdean) Date: Mon, 1 Mar 1999 16:42:43 -0800 (PST) Message-Id: <199903020042.QAA57349@ix.netcom.com> From: Thomas Dean To: mark@grondar.za Cc: freebsd-current@freebsd.org In-reply-to: <199903011911.VAA64865@greenpeace.grondar.za> (message from Mark Murray on Mon, 01 Mar 1999 21:11:20 +0200) Subject: Re: egcs and gcc Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As suspected, eg++ is using libstdc++.a, not libstdc++.so.2, as it should. How does this get fixed? tomdean ============================================== # g++ -m486 -O2 hello.cc -o hello # ldd hello hello: libg++.so.4 => /usr/lib/libg++.so.4 (0x28051000) libstdc++.so.2 => /usr/lib/libstdc++.so.2 (0x28093000) libm.so.2 => /usr/lib/libm.so.2 (0x280ce000) libc.so.3 => /usr/lib/libc.so.3 (0x280e9000) # eg++ -m486 -O2 hello.cc -o hello # ldd hello hello: libm.so.2 => /usr/lib/libm.so.2 (0x2805e000) libc.so.3 => /usr/lib/libc.so.3 (0x28079000) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message