Boost.Build's sunpro toolset support the
+SunPRO C++
+compiler.
+
+
Configuration Variables
+
+The sunpro toolset responds to the following variables which can be set in the
+environment or configured on the jam command-line using
+-sVARIABLE_NAME=value:
+
+
+
+
Variable Name
Semantics
Default
Notes
+
+
+
SUNPRO_ROOT
+
Path to installation directory of compiler tools.
+
(none)
+
+
+
+
+
SUNPRO_BIN_PATH
+
Path to bin directory.
+
$(SUNPRO_ROOT)/bin/
+
+
+
+
+
SUNPRO_cc
+
Name and (optional) path to C compiler.
+
$(SUNPRO_BIN_PATH)cc
+
+
+
+
+
SUNPRO_CC
+
Name and (optional) path to C++ compiler.
+
$(SUNPRO_BIN_PATH)CC
+
+
+
+
+
+
+
Revised
+
+ 09 Jul, 2003
+
+
+
Christopher Currie, Gennadiy Rozental, Jens Maurer
+
+
diff --git a/sunpro-tools.jam b/sunpro-tools.jam
index 2a1d2088e..0ee217418 100644
--- a/sunpro-tools.jam
+++ b/sunpro-tools.jam
@@ -4,18 +4,26 @@
# This software is provided "as is" without express or implied warranty,
# and with no claim as to its suitability for any purpose.
-# Sun Workshop 6 C++ compiler
+# The following #// line will be used by the regression test table generation
+# program as the column heading for HTML tables. Must not include version
+# number.
+#//Sun C++
+
+# Sun Workshop 6 / Sun ONE C++ compiler
# singleton variables...
set-as-singleton SUNPRO_ROOT SUNPRO_BIN_PATH ;
-# compute sunpro bin path
# You can either put the sunpro bin directory in your PATH, or you can set
# SUNPRO_ROOT to point at the sunpro installation directory, or you can set
# SUNPRO_BIN_PATH to point at sunpro bin directory
+# SUNPRO_CC to name the C++ compiler executable (default: CC)
+# SUNPRO_cc to name the C compiler executable (default: cc)
SUNPRO_BIN_PATH = $(SUNPRO_ROOT)$(SLASH)bin$(SLASH) ;
SUNPRO_BIN_PATH ?= "" ; # Don't clobber adjoining text if SUNPRO_ROOT isn't set
+SUNPRO_cc ?= $(SUNPRO_BIN_PATH)cc ;
+SUNPRO_CC ?= $(SUNPRO_BIN_PATH)CC ;
flags sunpro LINKFLAGS static : -staticlib=Crun ;
flags sunpro LINKFLAGS $(SHARED_TYPES) : -G ;
@@ -71,7 +79,7 @@ rule Link-action
actions together sunpro-Link-action bind NEEDLIBS
{
- $(SUNPRO_BIN_PATH)CC -o "$(<:T)" -xildoff -L$(LIBPATH) $(LINKFLAGS) "$(>:T)" "$(NEEDLIBS)" "-l$(FINDLIBS)"
+ $(SUNPRO_CC) -o "$(<:T)" -xildoff -L$(LIBPATH) $(LINKFLAGS) "$(>:T)" "$(NEEDLIBS)" "-l$(FINDLIBS)"
}
#### Archive ####
@@ -83,7 +91,7 @@ rule Archive-action
actions together sunpro-Archive-action
{
- $(SUNPRO_BIN_PATH)CC -xar $(ARFLAGS) -o "$(<:T)" "$(>:T)"
+ $(SUNPRO_CC) -xar $(ARFLAGS) -o "$(<:T)" "$(>:T)"
}
#### Cc #####
@@ -96,7 +104,7 @@ rule Cc-action
actions sunpro-Cc-action
{
- $(SUNPRO_BIN_PATH)cc -c -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
+ $(SUNPRO_cc) -c -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
}
#### C++ ####
@@ -108,6 +116,6 @@ rule C++-action
actions sunpro-C++-action
{
- $(SUNPRO_BIN_PATH)CC -c -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
+ $(SUNPRO_CC) -c -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
}
diff --git a/v1/index.html b/v1/index.html
index c613d77a7..dc16514c3 100644
--- a/v1/index.html
+++ b/v1/index.html
@@ -239,6 +239,11 @@
"http://www.stlport.org">STLport standard library
implementation
Boost.Build's sunpro toolset support the
+SunPRO C++
+compiler.
+
+
Configuration Variables
+
+The sunpro toolset responds to the following variables which can be set in the
+environment or configured on the jam command-line using
+-sVARIABLE_NAME=value:
+
+
+
+
Variable Name
Semantics
Default
Notes
+
+
+
SUNPRO_ROOT
+
Path to installation directory of compiler tools.
+
(none)
+
+
+
+
+
SUNPRO_BIN_PATH
+
Path to bin directory.
+
$(SUNPRO_ROOT)/bin/
+
+
+
+
+
SUNPRO_cc
+
Name and (optional) path to C compiler.
+
$(SUNPRO_BIN_PATH)cc
+
+
+
+
+
SUNPRO_CC
+
Name and (optional) path to C++ compiler.
+
$(SUNPRO_BIN_PATH)CC
+
+
+
+
+
+
+
Revised
+
+ 09 Jul, 2003
+
+
+
Christopher Currie, Gennadiy Rozental, Jens Maurer
+
+
diff --git a/v1/sunpro-tools.jam b/v1/sunpro-tools.jam
index 2a1d2088e..0ee217418 100644
--- a/v1/sunpro-tools.jam
+++ b/v1/sunpro-tools.jam
@@ -4,18 +4,26 @@
# This software is provided "as is" without express or implied warranty,
# and with no claim as to its suitability for any purpose.
-# Sun Workshop 6 C++ compiler
+# The following #// line will be used by the regression test table generation
+# program as the column heading for HTML tables. Must not include version
+# number.
+#//Sun C++
+
+# Sun Workshop 6 / Sun ONE C++ compiler
# singleton variables...
set-as-singleton SUNPRO_ROOT SUNPRO_BIN_PATH ;
-# compute sunpro bin path
# You can either put the sunpro bin directory in your PATH, or you can set
# SUNPRO_ROOT to point at the sunpro installation directory, or you can set
# SUNPRO_BIN_PATH to point at sunpro bin directory
+# SUNPRO_CC to name the C++ compiler executable (default: CC)
+# SUNPRO_cc to name the C compiler executable (default: cc)
SUNPRO_BIN_PATH = $(SUNPRO_ROOT)$(SLASH)bin$(SLASH) ;
SUNPRO_BIN_PATH ?= "" ; # Don't clobber adjoining text if SUNPRO_ROOT isn't set
+SUNPRO_cc ?= $(SUNPRO_BIN_PATH)cc ;
+SUNPRO_CC ?= $(SUNPRO_BIN_PATH)CC ;
flags sunpro LINKFLAGS static : -staticlib=Crun ;
flags sunpro LINKFLAGS $(SHARED_TYPES) : -G ;
@@ -71,7 +79,7 @@ rule Link-action
actions together sunpro-Link-action bind NEEDLIBS
{
- $(SUNPRO_BIN_PATH)CC -o "$(<:T)" -xildoff -L$(LIBPATH) $(LINKFLAGS) "$(>:T)" "$(NEEDLIBS)" "-l$(FINDLIBS)"
+ $(SUNPRO_CC) -o "$(<:T)" -xildoff -L$(LIBPATH) $(LINKFLAGS) "$(>:T)" "$(NEEDLIBS)" "-l$(FINDLIBS)"
}
#### Archive ####
@@ -83,7 +91,7 @@ rule Archive-action
actions together sunpro-Archive-action
{
- $(SUNPRO_BIN_PATH)CC -xar $(ARFLAGS) -o "$(<:T)" "$(>:T)"
+ $(SUNPRO_CC) -xar $(ARFLAGS) -o "$(<:T)" "$(>:T)"
}
#### Cc #####
@@ -96,7 +104,7 @@ rule Cc-action
actions sunpro-Cc-action
{
- $(SUNPRO_BIN_PATH)cc -c -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
+ $(SUNPRO_cc) -c -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
}
#### C++ ####
@@ -108,6 +116,6 @@ rule C++-action
actions sunpro-C++-action
{
- $(SUNPRO_BIN_PATH)CC -c -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
+ $(SUNPRO_CC) -c -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
}