setting gcc46 as default compiler?

Jeff Hamann jeff.hamann at forestinformatics.com
Fri Jun 8 00:58:21 UTC 2012


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?

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.






More information about the freebsd-questions mailing list