From owner-freebsd-ports Sun Feb 11 13:12:21 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA25307 for ports-outgoing; Sun, 11 Feb 1996 13:12:21 -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 NAA25302 for ; Sun, 11 Feb 1996 13:12:14 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id OAA19582; Sun, 11 Feb 1996 14:10:15 -0700 Message-Id: <199602112110.OAA19582@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: andreas@knobel.gun.de (Andreas Klemm), ports@freebsd.org Subject: Re: "ld: -lstdc++: no match" with pgcc In-reply-to: Your message of "Sun, 11 Feb 1996 06:32:21 EST." <199602111132.GAA12424@hda.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 11 Feb 1996 14:10:13 -0700 Sender: owner-ports@freebsd.org Precedence: bulk Hi, I went down this exact same path! I never tried ld and friends, not expecting them to work as binutils didn't have a FreeBSD target for ld. To get ld to compile I used: configure --host=i386-*-bsd --target=i386-*-bsd --with-gnu-as i[345]86-*-bsd) targ_emul=i386bsd ;; other candidates from configure.tgt: i[345]86-*-bsd386) targ_emul=i386bsd ;; i[345]86-*-bsdi*) targ_emul=i386bsd ;; i[345]86-*-aout) targ_emul=i386aout ;; i[345]86-*-netbsd*) targ_emul=i386nbsd ;; Might netbsd have been a better target? > ... So I removed all the new binutils > that were in my search path except the assembler To deal with this I placed a link to the NEW assembler in the directory where the new compiler keeps its various passes (cc1, etc): 266 % pwd /usr/local/lib/gcc-lib/pentium-unknown-freebsd/2.7.2p 267 % ll as lrwxr-xr-x 1 root bin 17 Feb 5 14:52 as@ -> /usr/local/bin/as The compiler looks here 1st, b4 the regular path. so it gets the new assembler, but /usr/bin/gcc|++ use the original. Both find the original ld. -- Steve Passe | powered by smp@csn.net | FreeBSD