From 0255f5604e690d321d08e8b3ae115f75946d498a Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 18 Sep 2006 13:25:37 +0000 Subject: Moved the section "selecting the compiler" from the chapter "using" to "configuring". --- doc/guide/files/configuring.xml | 71 ++++++++++++++++++++++++++++++++++++++-- doc/guide/files/using.xml | 72 +---------------------------------------- 2 files changed, 70 insertions(+), 73 deletions(-) (limited to 'doc') diff --git a/doc/guide/files/configuring.xml b/doc/guide/files/configuring.xml index 45d6d2c6763..5a5f4d66eb4 100644 --- a/doc/guide/files/configuring.xml +++ b/doc/guide/files/configuring.xml @@ -1,4 +1,4 @@ - + Configuring pkgsrc @@ -128,7 +128,74 @@ works. Selecting and configuring the compiler - + + Selecting the compiler + + By default, pkgsrc will use GCC to build packages. This may be + overridden by setting the following variables in /etc/mk.conf: + + + + PKGSRC_COMPILER: + + + This is a list of values specifying the chain of + compilers to invoke when building packages. Valid values + are: + + + + distcc: + distributed C/C++ (chainable) + + + ccache: + compiler cache (chainable) + + + gcc: + GNU C/C++ Compiler + + + mipspro: + Silicon Graphics, Inc. MIPSpro (n32/n64) + + + mipspro: + Silicon Graphics, Inc. MIPSpro (o32) + + + sunpro: + Sun Microsystems, Inc. WorkShip/Forte/Sun ONE Studio + + + + The default is + gcc. You can use + ccache and/or + distcc with an appropriate + PKGSRC_COMPILER setting, + e.g. ccache gcc. This + variable should always be + terminated with a value for a real compiler. + + + + + GCC_REQD: + + + This specifies the minimum version of GCC to use + when building packages. If the system GCC doesn't + satisfy this requirement, then pkgsrc will build and + install one of the GCC packages to use instead. + + + + Additional flags to the compiler (<varname>CFLAGS</varname>) diff --git a/doc/guide/files/using.xml b/doc/guide/files/using.xml index 9f51f39ebf3..714abe53a47 100644 --- a/doc/guide/files/using.xml +++ b/doc/guide/files/using.xml @@ -1,4 +1,4 @@ - + Using pkgsrc @@ -458,75 +458,5 @@ Version mismatch: 'tcsh' 6.09.00 vs 6.10.00 not install any if you use a non-standard LOCALBASE. - - - Selecting the compiler - - By default, pkgsrc will use GCC to build packages. This may be - overridden by setting the following variables in /etc/mk.conf: - - - - PKGSRC_COMPILER: - - - This is a list of values specifying the chain of - compilers to invoke when building packages. Valid values - are: - - - - distcc: - distributed C/C++ (chainable) - - - ccache: - compiler cache (chainable) - - - gcc: - GNU C/C++ Compiler - - - mipspro: - Silicon Graphics, Inc. MIPSpro (n32/n64) - - - mipspro: - Silicon Graphics, Inc. MIPSpro (o32) - - - sunpro: - Sun Microsystems, Inc. WorkShip/Forte/Sun ONE Studio - - - - The default is - gcc. You can use - ccache and/or - distcc with an appropriate - PKGSRC_COMPILER setting, - e.g. ccache gcc. This - variable should always be - terminated with a value for a real compiler. - - - - - GCC_REQD: - - - This specifies the minimum version of GCC to use - when building packages. If the system GCC doesn't - satisfy this requirement, then pkgsrc will build and - install one of the GCC packages to use instead. - - - - - -- cgit v1.2.3