Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2012 17:25:48 -0700
From:      Jeff Hamann <jeff.hamann@forestinformatics.com>
To:        freebsd-questions@freebsd.org
Subject:   setting gcc46 as default compiler?
Message-ID:  <91C240AC-29C0-40A1-86C4-C41A48720CAF@forestinformatics.com>

next in thread | raw e-mail | index | archive | help
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.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91C240AC-29C0-40A1-86C4-C41A48720CAF>