summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-01 01:56:28 +0000
committerjlam <jlam@pkgsrc.org>2004-02-01 01:56:28 +0000
commit061a8efa2c7a8eac1d201d3a181b30f6df603cc1 (patch)
treec28679a33453963a5864f8c7e584bd1ba91433ce /Packages.txt
parent3ac2d4b8aabac59ecadf486fa0dac2f8d2c627ad (diff)
downloadpkgsrc-061a8efa2c7a8eac1d201d3a181b30f6df603cc1.tar.gz
Document PKGSRC_COMPILER.
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt29
1 files changed, 28 insertions, 1 deletions
diff --git a/Packages.txt b/Packages.txt
index 34abcb45401..28d253136c8 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.326 2004/02/01 00:29:01 snj Exp $
+# $NetBSD: Packages.txt,v 1.327 2004/02/01 01:56:28 jlam Exp $
###########################################################################
==========================
@@ -335,6 +335,33 @@ precompiled binary packages are usually built with the default LOCALBASE of
LOCALBASE.
+ 2.5 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
+ mipspro Silicon Graphics, Inc. MIPSpro
+ 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.
+
+
3 Making precompiled packages
=============================