From owner-freebsd-hackers Mon Feb 12 12:32:02 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA26785 for hackers-outgoing; Mon, 12 Feb 1996 12:32:02 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA26720 for ; Mon, 12 Feb 1996 12:31:57 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id NAA26546; Mon, 12 Feb 1996 13:30:24 -0700 Message-Id: <199602122030.NAA26546@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: Peter Dufault cc: hackers@freefall.freebsd.org Subject: Re: g++ 2.7.2 / libg++ 2.7.1 and ld Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 12 Feb 1996 13:30:23 -0700 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk Hi, > I've been down the dead end that apparently several others have in > trying to get g++ 2.7.2 / libg++ 2.7.1 fully working on FreeBSD. > I believe the final stumbling block is our linker. > ... > 4. (Now you need weak symbol support in linker?) Reach > a dead end without work on ld. This I don't understand. As I stated previously, I (independantly) went down this path, EXCEPT for #4. I just use the standard linker, and code that used to trip over the ".weak" point links and runs fine Summary: g++ 2.7.2 from ports-current as from binutils 2.6, placed into g++ 2.7.2's 'search first' lib directory ld from 2.1.0-REL libstdc++ from 2.7.1 libg++ from 2.1.0-REL I have compiled several hello worlds, and a X11 app that talks thru pipes to a program that bit fiddles a serial port, which works (as well as the one with 2.1.0 g++, but thats another story). Do you have a sample program that fails for you that I might try to compile here? -- Steve Passe | powered by smp@csn.net | FreeBSD