From owner-svn-doc-all@freebsd.org Wed Dec 23 06:17:21 2015 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 594A0A4F134; Wed, 23 Dec 2015 06:17:21 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 262B21DF3; Wed, 23 Dec 2015 06:17:21 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBN6HKTS014261; Wed, 23 Dec 2015 06:17:20 GMT (envelope-from kevlo@FreeBSD.org) Received: (from kevlo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBN6HKku014260; Wed, 23 Dec 2015 06:17:20 GMT (envelope-from kevlo@FreeBSD.org) Message-Id: <201512230617.tBN6HKku014260@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevlo set sender to kevlo@FreeBSD.org using -f From: Kevin Lo Date: Wed, 23 Dec 2015 06:17:20 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r47902 - head/en_US.ISO8859-1/books/developers-handbook/tools X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2015 06:17:21 -0000 Author: kevlo (src,ports committer) Date: Wed Dec 23 06:17:19 2015 New Revision: 47902 URL: https://svnweb.freebsd.org/changeset/doc/47902 Log: Replace gcc with clang to keep consistent with section 2.5.1 Submitted by: Ruey-Cherng Yu Differential Revision: https://reviews.freebsd.org/D4678 Modified: head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml Modified: head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml Tue Dec 22 14:53:11 2015 (r47901) +++ head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml Wed Dec 23 06:17:19 2015 (r47902) @@ -1177,7 +1177,7 @@ int main(.... pain to keep track of all include files and the files which are depending on it. If you change an include-file but forget to recompile all the files which are depending on - it, the results will be devastating. gcc + it, the results will be devastating. clang has an option to analyze your files and to produce a list of include-files and their dependencies: . @@ -1185,7 +1185,7 @@ int main(.... If you add this to your Makefile: depend: - gcc -E -MM *.c > .depend + cc -E -MM *.c > .depend and run make depend, the file .depend will appear with a list of