Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2013 16:04:13 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r42670 - head/en_US.ISO8859-1/books/porters-handbook
Message-ID:  <201309151604.r8FG4DQk090220@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Sun Sep 15 16:04:13 2013
New Revision: 42670
URL: http://svnweb.freebsd.org/changeset/doc/42670

Log:
  Update the descriptions for USE_GCC
  
  Submitted by:	danfe
  Approved by:	bcr (mentor)

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/book.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/book.xml	Sun Sep 15 14:57:52 2013	(r42669)
+++ head/en_US.ISO8859-1/books/porters-handbook/book.xml	Sun Sep 15 16:04:13 2013	(r42670)
@@ -3822,10 +3822,11 @@ ALWAYS_KEEP_DISTFILES=	yes
 	    <filename>/etc/make.conf</filename>.  For instance,
 	    setting</para>
 
-	  <programlisting>USE_GCC=3.4</programlisting>
+	  <programlisting>USE_GCC=X.Y</programlisting>
 
-	  <para>would add a dependency on gcc34 for every port,
-	    including gcc34 itself!</para>
+	  <para>(where X.Y is version number) would add a dependency on
+	    gccXY for every port, including <literal>lang/gccXY</literal>
+	    itself!</para>
 	</note>
 
 	<table frame="none">
@@ -3856,17 +3857,23 @@ ALWAYS_KEEP_DISTFILES=	yes
 
 	      <row>
 		<entry><makevar>USE_GCC</makevar></entry>
-		<entry>The port requires a specific version of
-		  <command>gcc</command> to build.  The exact version
-		  can be specified with value such as
-		  <literal>3.4</literal>.  The minimal required
-		  version can be specified as <literal>3.4+</literal>.
-		  The <command>gcc</command> from the base system is
-		  used when it satisfies the requested version,
-		  otherwise an appropriate <command>gcc</command> is
-		  compiled from ports and the <makevar>CC</makevar>
-		  and <makevar>CXX</makevar> variables are
-		  adjusted.</entry>
+		<entry>The port requires GCC (<command>gcc</command> or
+		  <command>g++</command>) to build.  Some ports need any
+		  GCC version, some require modern, recent versions.  It
+		  is typically set to <literal>any</literal> (in this
+		  case, GCC from base would be used on versions of &os;
+		  that still have it, or <literal>lang/gcc</literal> port
+		  would be installed when default C/C++ compiler is Clang);
+		  or <literal>yes</literal> (means always use stable, modern
+		  GCC from <literal>lang/gcc</literal> port).  The exact
+		  version can be also specified, with a value such as
+		  <literal>4.7</literal>.  The minimal required
+		  version can be specified as <literal>4.6+</literal>.
+		  The GCC from the base system is used when it satisfies
+		  the requested version, otherwise an appropriate compiler
+		  in built from the port, and the <makevar>CC</makevar>
+		  and <makevar>CXX</makevar> variables are adjusted
+		  accordingly.</entry>
 	      </row>
 	    </tbody>
 	  </tgroup>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309151604.r8FG4DQk090220>