From owner-freebsd-ports@FreeBSD.ORG Tue Jul 22 06:27:50 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E71101065674 for ; Tue, 22 Jul 2008 06:27:50 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 802678FC19 for ; Tue, 22 Jul 2008 06:27:50 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1110015fgb.35 for ; Mon, 21 Jul 2008 23:27:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=h2x+J/P4migYhkbZUtlLFqi2zUDe901ajBAxewPPVyg=; b=i7oQO/BS+IvTP1feNZohmOtkXKLBX5p7cFC2O4kd5ZfvSD9hfI9sXe/7nPgA91FKWl 9aYBgvepRadkDV54w6FBs201yLUXDANgATVEUbXQms+gSUOs+Ol0XF2R+hlYbp5c8tt3 rZl573dRgJR/FK7ttSeFsxwpmkDvtpsHiBemo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=IKrZkznWPWIGd1YZmMe8eqSB8j85KEYyLemrbAKzXRwM5fjxNvPPw26WzsT8eSfM+O r5oT5pzcz0e+NtSLkWMNWLIiKcixTnAuq+gm8HSgfbG/a8+fAkMfwv651DHfARhBX7ed oy/HY12fwrsTnWs3P8cLFJMstJB0GvyeotgFo= Received: by 10.86.57.9 with SMTP id f9mr6023479fga.66.1216708069238; Mon, 21 Jul 2008 23:27:49 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Mon, 21 Jul 2008 23:27:49 -0700 (PDT) Message-ID: <7d6fde3d0807212327j5947fd95we4ca9a16e9769124@mail.gmail.com> Date: Mon, 21 Jul 2008 23:27:49 -0700 From: "Garrett Cooper" To: "Jeremy Chadwick" In-Reply-To: <20080721110910.GA30467@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080721110910.GA30467@eos.sc1.parodius.com> Cc: david@vizion2000.net, freebsd-ports@freebsd.org Subject: Re: gcc versions following upgrade 6.3 >7.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 06:27:51 -0000 On Mon, Jul 21, 2008 at 4:09 AM, Jeremy Chadwick wrote: > On Mon, Jul 21, 2008 at 03:11:25AM -0700, david@vizion2000.net wrote: >> FreeBSD **.vizion2000.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Jul 16 >> 09:27:38 PDT 2008 @**.vizion2000.net:/usr/obj/usr/src/sys/GENERIC amd64 >> # pkg_info |grep gcc >> gcc-4.1.3_20080630 GNU Compiler Collection 4.1 >> gcc-4.2.5_20080702 GNU Compiler Collection 4.2 >> gccmakedep-1.0.2 Create dependencies in makefiles using 'gcc -M' >> >> Should both versions be installed? > > That depends. Are you using any ports which depend on specific versions > of GCC? The base system version comes with gcc 4.2.1. There may be > ports which require older or newer GCC, however. > > "pkg_info -R" should help you determine what ports are dependant upon > those two GCC ports. There isn't anything wrong with having multiple compilers installed on a given system, insomuch as they install within separate directories or are prefixed differently. The sym-/hard-links for the compiler last installed may be the one that gets used though (not sure because I don't have any experience installing gcc from ports on FreeBSD)... >> Do they not place files in same place? > > No. This ties into the reply above, but if you have a compiler provided by the base system and a compiler provided by ports, they won't install in the same location, as ${PREFIX} dictates in ports. -Garrett