From owner-freebsd-questions@FreeBSD.ORG Fri Jun 8 00:58:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0DE2106566C for ; Fri, 8 Jun 2012 00:58:21 +0000 (UTC) (envelope-from jeff.hamann@forestinformatics.com) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by mx1.freebsd.org (Postfix) with ESMTP id 745778FC08 for ; Fri, 8 Jun 2012 00:58:21 +0000 (UTC) Received: from [192.168.1.130] (unknown [74.123.160.78]) by smtp.webfaction.com (Postfix) with ESMTP id DE1E626EDB6E; Thu, 7 Jun 2012 19:25:55 -0500 (CDT) From: Jeff Hamann Date: Thu, 7 Jun 2012 17:25:48 -0700 To: freebsd-questions@freebsd.org Message-Id: <91C240AC-29C0-40A1-86C4-C41A48720CAF@forestinformatics.com> Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 00:58:21 -0000 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.=20 This is what mine currently looks like: $ cat make.conf # added by use.perl 2012-06-07 03:03:21 PERL_VERSION=3D5.10.1 .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc46) CC=3Dgcc46 CXX=3Dg++46 CPP=3Dcpp46 FC=3Dgfortran46 .endif FFLAGS=3D-O2 -mtune=3Dathlon64 CC=3Dgcc46 CXX=3Dg++46 CPP=3Dcpp46 FC=3Dgfortran46 $=20 Am I close? Help? Respectfully, Jeff. Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 230 SW 3rd Street Suite #310 Corvallis, Oregon 97333 541-602-5438 (c) 541-754-2457 (h) jeff.hamann[at]forestinformatics[dot]com jeff.d.hamann[at]gmail[dot]com http://www.forestinformatics.com http://en.wikipedia.org/wiki/Forest_informatics To ensure that your email is processed, include a subject entry in your = email.