Date: Sun, 11 Feb 1996 14:10:13 -0700 From: Steve Passe <smp@csn.net> To: Peter Dufault <dufault@hda.com> Cc: andreas@knobel.gun.de (Andreas Klemm), ports@freebsd.org Subject: Re: "ld: -lstdc++: no match" with pgcc Message-ID: <199602112110.OAA19582@clem.systemsix.com> In-Reply-To: Your message of "Sun, 11 Feb 1996 06:32:21 EST." <199602111132.GAA12424@hda.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602112110.OAA19582>