From 94c2857117028acda6b7b405ad24b06c41f8b66f Mon Sep 17 00:00:00 2001 From: grant Date: Wed, 6 Oct 2004 09:49:53 +0000 Subject: add initial support for IBM's XL C/C++ compiler. tested with version 6.0 on Mac OS X 10.3.5. to use XL C, set PKGSRC_COMPILER=xlc in mk.conf. XLCBASE defaults to /opt/ibmcmp/vacpp/6.0 (the default installation location on OS X), this can be overridden in mk.conf too. this is a work in progress - some simple packages can be built, but there are still lots of issues that need to be worked through. --- mk/compiler.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mk/compiler.mk') diff --git a/mk/compiler.mk b/mk/compiler.mk index 58708537b3b..cb147f8e914 100644 --- a/mk/compiler.mk +++ b/mk/compiler.mk @@ -1,4 +1,4 @@ -# $NetBSD: compiler.mk,v 1.35 2004/09/21 15:01:39 jlam Exp $ +# $NetBSD: compiler.mk,v 1.36 2004/10/06 09:49:53 grant Exp $ # # This Makefile fragment implements handling for supported C/C++/Fortran # compilers. @@ -17,6 +17,7 @@ # mipspro-ucode Silicon Graphics, Inc. MIPSpro (o32) # sunpro Sun Microsystems, Inc. WorkShip/Forte/Sun # ONE Studio +# xlc IBM's XL C/C++ compiler suite # # The default is "gcc". You can use ccache and/or distcc with an # appropriate PKGSRC_COMPILER setting, e.g. "ccache distcc gcc". @@ -88,7 +89,7 @@ PKGSRC_COMPILER?= gcc _USE_PKGSRC_GCC= yes .endif -_COMPILERS= gcc mipspro mipspro-ucode sunpro +_COMPILERS= gcc mipspro mipspro-ucode sunpro xlc _PSEUDO_COMPILERS= ccache distcc .if defined(NOT_FOR_COMPILER) && !empty(NOT_FOR_COMPILER) -- cgit v1.2.3