From 6673f2545abc7b2ea6d919c97f60306ffcf12330 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Mon, 28 Feb 2011 17:44:04 +0100 Subject: [PATCH] Add 'pcc' as a CCVER value (using /usr/pkgsrc/lang/pcc-current). It doesn't compile a full world or kernel yet but is quite fast and a lot of our stuff builds with it (bin/, games/, secure/, most of sbin/ and usr.bin/ and probably more). If anyone wants to look at the remaining issues, be our guest. --- etc/defaults/compilers.conf | 6 ++++++ share/man/man5/compilers.conf.5 | 14 +++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/etc/defaults/compilers.conf b/etc/defaults/compilers.conf index a10c4bdf8c..7f13c0a667 100644 --- a/etc/defaults/compilers.conf +++ b/etc/defaults/compilers.conf @@ -16,3 +16,9 @@ clang_VERSION=4.1.2 # gcc46_CC=/usr/pkg/bin/gnatgcc gcc46_CPP=/usr/pkg/bin/gnatcpp + +# pcc from pkgsrc +# +pcc_CC=/usr/pkg/bin/pcc +pcc_CPP="/usr/pkg/bin/pcc -E" +pcc_CXX=/usr/libexec/gcc44/c++ diff --git a/share/man/man5/compilers.conf.5 b/share/man/man5/compilers.conf.5 index 30dddcba5b..0ab293f171 100644 --- a/share/man/man5/compilers.conf.5 +++ b/share/man/man5/compilers.conf.5 @@ -29,7 +29,7 @@ .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd February 25, 2011 +.Dd February 28, 2011 .Os .Dt COMPILERS.CONF 5 .Sh NAME @@ -104,15 +104,19 @@ Currently, defaults are provided for .Nm clang (installed from .Xr pkgsrc 7 Ap s -.Pa lang/clang ), +.Pa lang/clang ) , .Nm clangsvn (installed from SVN trunk as described in -.Pa http://clang.llvm.org/get_started.html ) -and +.Pa http://clang.llvm.org/get_started.html ) , .Nm gcc46 (installed from .Xr pkgsrc 7 Ap s -.Pa lang/gnat-aux ) . +.Pa lang/gnat-aux ) +and +.Nm pcc +(installed from +.Xr pkgsrc 7 Ap s +.Pa lang/pcc-current ) . .Sh IMPLEMENTATION NOTES In .Dx , -- 2.41.0