diff options
author | grant <grant@pkgsrc.org> | 2004-10-06 09:49:53 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-10-06 09:49:53 +0000 |
commit | 94c2857117028acda6b7b405ad24b06c41f8b66f (patch) | |
tree | 4b26f3cb130461689143842f824311bc77841416 /mk/compiler.mk | |
parent | fb3c80d4c39b066702081f9b2f92e85a1902a0db (diff) | |
download | pkgsrc-94c2857117028acda6b7b405ad24b06c41f8b66f.tar.gz |
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.
Diffstat (limited to 'mk/compiler.mk')
-rw-r--r-- | mk/compiler.mk | 5 |
1 files changed, 3 insertions, 2 deletions
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) |