From owner-freebsd-stable Thu Mar 23 17: 1:59 2000 Delivered-To: freebsd-stable@freebsd.org Received: from orion.ac.hmc.edu (Orion.AC.HMC.Edu [134.173.32.20]) by hub.freebsd.org (Postfix) with ESMTP id 0111A37B5F2 for ; Thu, 23 Mar 2000 17:01:56 -0800 (PST) (envelope-from brdavis@orion.ac.hmc.edu) Received: (from brdavis@localhost) by orion.ac.hmc.edu (8.8.8/8.8.8) id RAA10548; Thu, 23 Mar 2000 17:01:53 -0800 (PST) Date: Thu, 23 Mar 2000 17:01:53 -0800 From: Brooks Davis To: David Kanter Cc: FreeBSD stable Subject: Re: C++ writing/compiling with 3.4 stable Message-ID: <20000323170153.A9236@orion.ac.hmc.edu> References: <20000323181153.A88716@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: <20000323181153.A88716@localhost.localdomain>; from djkanter@nwu.edu on Thu, Mar 23, 2000 at 06:11:53PM -0600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Mar 23, 2000 at 06:11:53PM -0600, David Kanter wrote: > How ANSI/ISO-compliant is 3.4 stable? I ask because compiling a C++ program > I just wrote needed the header files with the .h extension, and didn't like > using namespace std; > > And which version of gcc should I use? There is a 2.95 (egcs) and 2.8.1 > (gcc) but the glibstdc++ seems to want 2.8.1 You're almost certaintly going to want 2.95. It's much closer to ANSI compliance. If you can, you might want to consider upgrading to 4.0 as it has gcc 2.95.2 built in. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message