From owner-freebsd-ports Sun Jan 31 21:20:07 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA21559 for freebsd-ports-outgoing; Sun, 31 Jan 1999 21:20:07 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA21541 for ; Sun, 31 Jan 1999 21:20:02 -0800 (PST) (envelope-from kkennawa@physics.adelaide.edu.au) Received: from bragg (bragg [129.127.36.34]) by adelphi.physics.adelaide.edu.au (8.8.8/8.8.8/UofA-1.5) with SMTP id PAA29763; Mon, 1 Feb 1999 15:49:54 +1030 (CST) Received: from localhost by bragg; (5.65/1.1.8.2/05Aug95-0227PM) id AA00357; Mon, 1 Feb 1999 15:49:53 +1030 Date: Mon, 1 Feb 1999 15:49:53 +1030 (CST) From: Kris Kennaway X-Sender: kkennawa@bragg To: Don Croyle Cc: ports@FreeBSD.ORG Subject: Re: Preference between egcs and gcc28? In-Reply-To: <86ww23djli.fsf@emerson.gelemna.ft-wayne.in.us> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 31 Jan 1999, Don Croyle wrote: > I'm working on a port for a C++ program that won't build with the > system version of gcc, but does fine with either egcs' or gcc28's C++ > compiler. > > Is there any strong preference towards using one or the other as a > build dependency? egcs C++ binaries are not backwards compatible with those spat out by gcc 2.7, apparently. This bites you if you try and link against an egcs-built C++ library with gcc 2.7.x (e.g. the stock system compiler) - it seems to fail with a lot of unresolved symbols. Note that I don't actually know much about the 'why' of this, but I read it somewhere (on the egcs website?) and it seems to be bourne out in my experience. Kris ----- (ASP) Microsoft Corporation (MSFT) announced today that the release of its productivity suite, Office 2000, will be delayed until the first quarter of 1901. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message