From owner-freebsd-stable Sat May 9 13:04:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21156 for freebsd-stable-outgoing; Sat, 9 May 1998 13:04:03 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA21104 for ; Sat, 9 May 1998 13:03:51 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (localhost.softweyr.com [127.0.0.1]) by softweyr.com (8.8.8/8.8.7) with ESMTP id OAA08258; Sat, 9 May 1998 14:03:41 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <3554B69C.69608BCB@softweyr.com> Date: Sat, 09 May 1998 14:03:40 -0600 From: Wes Peters Organization: Softweyr llc X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: Gary Kline CC: stable@FreeBSD.ORG, kline@thought.org Subject: Re: gcc quandry References: <199805091954.MAA01748@athena.tera.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk According to Wes Peters: % Since you can install gcc-2.8.x in /usr/local and not conflict with the % standard compiler or any other installation, you have little to lose % (other than a few megs of disk space) in trying the newer compiler. Gary Kline wrote: > I was wondering about this. It's been a couple years since > I ported//installed gcc by hand so I am wondering what > dependencies there are. If I install gcc-2.8.1 in /usr/local, > will there be conflicts with the gcc headers? I suppose if > I run into hassles I can restore this from tape; but better > to ask beforre jumping :-) No problem. Modern versions of GCC install themselves 'atomically', except for the inevitable collisions in /usr/local/bin/gcc, g++, etc. You can get around that problem by setting the GCC_EXEC_PREFIX to point to the settings for any of the GCC compilers you have installed. Any header files the compiler installation has to 'correct' are placed in a per-version directory, so it will not clobber and older (or newer) installation. If you want to try gcc-2.8.1 the quick way, there is a binary package available. Go to a root shell and enter: pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/packages-2.2.6/lang/gcc-2.8.1.tgz and you should have it installed. Couldn't be simpler, now could it? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message