pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Document PKGSRC_COMPILER.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c841879b4de8
branches:  trunk
changeset: 467462:c841879b4de8
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Feb 01 01:56:28 2004 +0000

description:
Document PKGSRC_COMPILER.

diffstat:

 Packages.txt |  29 ++++++++++++++++++++++++++++-
 1 files changed, 28 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r ab8c5f753808 -r c841879b4de8 Packages.txt
--- a/Packages.txt      Sun Feb 01 01:43:28 2004 +0000
+++ b/Packages.txt      Sun Feb 01 01:56:28 2004 +0000
@@ -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 @@
 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
  =============================
 



Home | Main Index | Thread Index | Old Index