Date: Fri, 08 Jun 2012 10:44:23 +0300 From: Volodymyr Kostyrko <c.kworr@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: setting gcc46 as default compiler? Message-ID: <jqsagm$lhq$1@dough.gmane.org> In-Reply-To: <91C240AC-29C0-40A1-86C4-C41A48720CAF@forestinformatics.com> References: <91C240AC-29C0-40A1-86C4-C41A48720CAF@forestinformatics.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jqsagm$lhq$1>