From owner-svn-doc-head@FreeBSD.ORG Sun Sep 15 16:04:13 2013 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ACDE0441; Sun, 15 Sep 2013 16:04:13 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8013F28DA; Sun, 15 Sep 2013 16:04:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8FG4DOE090221; Sun, 15 Sep 2013 16:04:13 GMT (envelope-from crees@svn.freebsd.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8FG4DQk090220; Sun, 15 Sep 2013 16:04:13 GMT (envelope-from crees@svn.freebsd.org) Message-Id: <201309151604.r8FG4DQk090220@svn.freebsd.org> From: Chris Rees Date: Sun, 15 Sep 2013 16:04:13 +0000 (UTC) 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 X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Sep 2013 16:04:13 -0000 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 /etc/make.conf. For instance, setting - USE_GCC=3.4 + USE_GCC=X.Y - would add a dependency on gcc34 for every port, - including gcc34 itself! + (where X.Y is version number) would add a dependency on + gccXY for every port, including lang/gccXY + itself! @@ -3856,17 +3857,23 @@ ALWAYS_KEEP_DISTFILES= yes USE_GCC - The port requires a specific version of - gcc to build. The exact version - can be specified with value such as - 3.4. The minimal required - version can be specified as 3.4+. - The gcc from the base system is - used when it satisfies the requested version, - otherwise an appropriate gcc is - compiled from ports and the CC - and CXX variables are - adjusted. + The port requires GCC (gcc or + g++) to build. Some ports need any + GCC version, some require modern, recent versions. It + is typically set to any (in this + case, GCC from base would be used on versions of &os; + that still have it, or lang/gcc port + would be installed when default C/C++ compiler is Clang); + or yes (means always use stable, modern + GCC from lang/gcc port). The exact + version can be also specified, with a value such as + 4.7. The minimal required + version can be specified as 4.6+. + 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 CC + and CXX variables are adjusted + accordingly.