From owner-freebsd-ports Sun Feb 11 03:26:49 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA02206 for ports-outgoing; Sun, 11 Feb 1996 03:26:49 -0800 (PST) Received: from hda.com (hda.com [199.232.40.182]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA02200 for ; Sun, 11 Feb 1996 03:26:44 -0800 (PST) Received: (from dufault@localhost) by hda.com (8.6.11/8.6.9) id GAA12424; Sun, 11 Feb 1996 06:32:23 -0500 From: Peter Dufault Message-Id: <199602111132.GAA12424@hda.com> Subject: Re: "ld: -lstdc++: no match" with pgcc To: andreas@knobel.gun.de (Andreas Klemm) Date: Sun, 11 Feb 1996 06:32:21 -0500 (EST) Cc: ports@freebsd.org In-Reply-To: from "Andreas Klemm" at Feb 10, 96 09:49:53 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-ports@freebsd.org Precedence: bulk > > I tried to use pgcc-2.7.2.7 and I get "-lstdc++: no match": > > I read your 2nd mail in the mailinglist... You were missing libg++ ?! > Or is something else wrong so that I should do something ... Should pgcc be able to build g++ programs on a FreeBSD system? The pgcc port appeared to build and install without a problem. But it doesn't have any new libg++ source. When you compile a g++ program the new compiler looks for "-lstdc++" which isn't in the existing installed libraries. So I pulled down the newest libg++ (which has -lstdc++) from prep and started building that. Then I had a problem with no ".weak" directive in the assembler. So I pulled down the latest "binutils" from prep and started building that after configuring as "i386-unknown-bsd". Then the assembler worked OK, but most of the new binutils wouldn't recognize some of our object files (explicitly our crt files). So I removed all the new binutils that were in my search path except the assembler, and finally had a full tool chain that at least compiles, links, and runs hello.cc. Do I have something set up wrong so that I had to do this? -- Peter Dufault Real-Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267