Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2012 08:07:01 -0600 (CST)
From:      Dan McGregor <dan.mcgregor@usask.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/173604: make.conf referrs to gcc instead of cc
Message-ID:  <20121113140701.524D6143@shadrach.dyndns.org>
Resent-Message-ID: <201211131420.qADEK0ps013934@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173604
>Category:       misc
>Synopsis:       make.conf referrs to gcc instead of cc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 13 14:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dan McGregor
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD shadrach.dyndns.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #25 r242688M: Wed Nov 7 00:30:32 CST 2012 dan@shadrach.dyndns.org:/usr/obj/usr/src/sys/SHADRACH amd64

>Description:
	make.conf(5) talks about gcc(1) whenever it mentions the compiler. I believe it should
	refer to cc(1), especially since the default is no longer GCC.
>How-To-Repeat:
	man make.conf
>Fix:
	This patch changes all references from gcc(1) to cc(1).


--- make.conf.patch begins here ---
Index: share/man/man5/make.conf.5
===================================================================
--- share/man/man5/make.conf.5	(revision 242962)
+++ share/man/man5/make.conf.5	(working copy)
@@ -143,7 +143,7 @@
 are not supported.
 .Va BDECFLAGS
 is provided as a set of
-.Xr gcc 1
+.Xr cc 1
 settings suggested by
 .An "Bruce Evans" Aq bde@FreeBSD.org
 for developing and testing changes.
@@ -162,7 +162,7 @@
 and
 .Va COPTFLAGS
 to contain the appropriate optimization directive to
-.Xr gcc 1 .
+.Xr cc 1 .
 The automatic setting of
 .Va CFLAGS
 and
@@ -693,7 +693,7 @@
 .Pq Vt int
 Causes the system compiler to be built such that it forces high optimization
 levels to a lower one.
-.Xr gcc 1
+.Xr cc 1
 .Fl O2
 and above is known to trigger known optimizer bugs at various
 times.
@@ -735,7 +735,7 @@
 .It Pa /usr/src/Makefile.inc1
 .El
 .Sh SEE ALSO
-.Xr gcc 1 ,
+.Xr cc 1 ,
 .Xr install 1 ,
 .Xr make 1 ,
 .Xr src.conf 5 ,
--- make.conf.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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