From owner-freebsd-questions@FreeBSD.ORG Fri Jun 8 07:44:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2908F1065670 for ; Fri, 8 Jun 2012 07:44:45 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id D66778FC20 for ; Fri, 8 Jun 2012 07:44:44 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Scts3-0003uC-Qk for freebsd-questions@freebsd.org; Fri, 08 Jun 2012 09:44:35 +0200 Received: from utwig.xim.bz ([91.216.237.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jun 2012 09:44:35 +0200 Received: from c.kworr by utwig.xim.bz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jun 2012 09:44:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Volodymyr Kostyrko Date: Fri, 08 Jun 2012 10:44:23 +0300 Lines: 30 Message-ID: References: <91C240AC-29C0-40A1-86C4-C41A48720CAF@forestinformatics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: utwig.xim.bz User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 In-Reply-To: <91C240AC-29C0-40A1-86C4-C41A48720CAF@forestinformatics.com> Subject: Re: setting gcc46 as default compiler? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2012 07:44:45 -0000 Jeff Hamann написал: > I've built and installed the gcc46 compiler(s) - need gfortran - and I can't seem to find the correct documentation on how to update /etc/make.conf for including the gfortran46. > > This is what mine currently looks like: > > $ cat make.conf > # added by use.perl 2012-06-07 03:03:21 > PERL_VERSION=5.10.1 > ..if !empty(.CURDIR:M/usr/ports/*)&& exists(/usr/local/bin/gcc46) > CC=gcc46 > CXX=g++46 > CPP=cpp46 > FC=gfortran46 > ..endif > > FFLAGS=-O2 -mtune=athlon64 > CC=gcc46 > CXX=g++46 > CPP=cpp46 > FC=gfortran46 > > $ > > Am I close? Help? When I want some port to use gcc46 I use USE_GCC=4.6+. This takes care of depending ports on gcc port. -- Sphinx of black quartz judge my vow.