From owner-freebsd-questions Thu Oct 3 11:59:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 907FA37B401 for ; Thu, 3 Oct 2002 11:59:50 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-88.dsl.lsan03.pacbell.net [64.165.226.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id B678643E3B for ; Thu, 3 Oct 2002 11:59:49 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3A5C866CFB; Thu, 3 Oct 2002 11:59:49 -0700 (PDT) Date: Thu, 3 Oct 2002 11:59:49 -0700 From: Kris Kennaway To: Tomasz Koziara Cc: freebsd-questions Subject: Re: gcc upgrade Message-ID: <20021003185948.GB3372@xor.obsecurity.org> References: <20021002185959.33970686.toko@space.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: <20021002185959.33970686.toko@space.pl> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 02, 2002 at 06:59:59PM +0200, Tomasz Koziara wrote: > Hi everybody >=20 > I would like to upgrade form gcc-29.5.4 to gcc-33. > Old gcc comes with FreeBSD as "native" compiler > and is not registerd as eny installed package. > Is it reasonable just to type "make all install clean" > in gcc-33 port directiry ? Will I need to upgrade > my c and c++ libs ( or meaby the will be upgraded > as dependencies ? ). Generally - how to do > all that stuff properly - not to cose a gloal mess > in my system ? I have few projects in development > at the time and only a smart chunk of code needs > newer version of GCC. Probably, I could get by > somhow in case - upgradeing would be to > paintfull. Thanks for Your hints. The output of gcc 3.3 for c++ code is not compatible with c++ binaries from older compilers. Therefore you cannot mix-and-match c++ code, but other C code should be ok. You also cannot compile the base system (make world/kernel) with the newer gcc because it won't work (there were changes required to support it in 5.0-CURRENT). Kris --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9nJOkWry0BWjoQKURAs0gAKDRuRx2ZgsY1VdM0RxSp4ZdgCircACg7C9/ zRBHEKn/NGBQtNZk48pv5pQ= =HbVK -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message