Update the descriptions for USE_GCC

Submitted by:	danfe
Approved by:	bcr (mentor)
This commit is contained in:
Chris Rees 2013-09-15 16:04:13 +00:00
parent 55074ce61d
commit ee3473fab6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=42670

View file

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