./SCons/Tool/qt.py
./SCons/Tool/rmic.py
./SCons/Tool/sgiar.py
+./SCons/Tool/sgic++.py
./SCons/Tool/sgicc.py
./SCons/Tool/sgilink.py
./SCons/Tool/sunar.py
qt
rmic
sgiar
+sgic++
sgicc
sgilink
sunar
- Fix subclassing the Environment and Scanner classes.
+ From Steve Leblanc:
+
+ - SGI fixes: Fix C++ compilation, add a separate Tool/sgic++.py module,
+ remove '-LANG:std' from the default SGI $CXXFLAGS and $LINKFLAGS.
+
From Gary Oberbrunner:
- Fix how the man page un-indents after examples in some browsers.
-RELEASE 0.93 - Thu, 23 Oct 2003 07:26:55 -0500
+RELEASE X.XX - XXX, XX XXX XXXX XX:XX:XX -XXXX
- This is the fourth beta release of SCons. Please consult the
+ This is the fifth beta release of SCons. Please consult the
CHANGES.txt file for a list of specific changes since last release.
+ Please note the following important changes since release 0.93:
+
+ - The '-LANG:std' option has been removed from the default $CXXFLAGS
+ and $LINKFLAGS variables on SGI systems. SGI users who need that flag
+ for C++ compilation will need to explicitly add it to those variables.
+
Please note the following important changes since release 0.92:
- Construction variables are now expanded anywhere within a
of using the env.ParseConfig() method. The global function will be
removed in some future release of SCons.
- Please note the following important changes since release 0.91:
-
- - The Debian package available from the SCons web site now
- uses Python version 2.2.
-
SCons is developed with an extensive regression test suite, and a
rigorous development methodology for continually improving that suite.
Because of this, SCons is of sufficient quality that you can use it
SCons/Tool/rmic.py
SCons/Tool/SCCS.py
SCons/Tool/sgiar.py
+SCons/Tool/sgic++.py
SCons/Tool/sgicc.py
SCons/Tool/sgilink.py
SCons/Tool/sunar.py
"prefer MIPSPro on IRIX"
linkers = ['sgilink', 'gnulink']
c_compilers = ['sgicc', 'gcc', 'cc']
- cxx_compilers = ['sgicc', 'g++', 'c++']
+ cxx_compilers = ['sgic++', 'g++', 'c++']
assemblers = ['as', 'gas']
fortran_compilers = ['f77', 'g77']
ars = ['sgiar']
ar = None
else:
# Don't use g++ if the C compiler has built-in C++ support:
- if c_compiler in ('msvc', 'icc', 'sgicc'):
+ if c_compiler in ('msvc', 'icc'):
cxx_compiler = None
else:
cxx_compiler = FindTool(cxx_compilers, env) or cxx_compilers[0]
--- /dev/null
+"""SCons.Tool.sgic++
+
+Tool-specific initialization for MIPSpro C++ on SGI.
+
+There normally shouldn't be any need to import this module directly.
+It will usually be imported through the generic SCons.Tool.Tool()
+selection method.
+
+"""
+__revision__ = ""
+
+import os.path
+import string
+
+cplusplus = __import__('c++', globals(), locals(), [])
+
+def generate(env):
+ """Add Builders and construction variables for SGI MIPS C++ to an Environment."""
+
+ cplusplus.generate(env)
+
+ env['CXX'] = 'CC'
+ env['SHCXX'] = 'CC'
+ env['SHOBJSUFFIX'] = '.o'
+ env['STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME'] = 1
+
+def exists(env):
+ return env.Detect('CC')
"""SCons.Tool.sgicc
-Tool-specific initialization for MIPSPro CC and cc.
+Tool-specific initialization for MIPSPro cc on SGI.
There normally shouldn't be any need to import this module directly.
It will usually be imported through the generic SCons.Tool.Tool()
def generate(env):
"""Add Builders and construction variables for gcc to an Environment."""
cc.generate(env)
-
+
env['CXX'] = 'CC'
- env['CXXFLAGS'] = ['$CCFLAGS', '-LANG:std']
env['SHOBJSUFFIX'] = '.o'
env['STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME'] = 1
def exists(env):
- return env.Detect('CC')
+ return env.Detect('cc')
"""SCons.Tool.sgilink
-Tool-specific initialization for the SGI MIPSPro linker.
+Tool-specific initialization for the SGI MIPSPro linker on SGI.
There normally shouldn't be any need to import this module directly.
It will usually be imported through the generic SCons.Tool.Tool()
"""Add Builders and construction variables for MIPSPro to an Environment."""
link.generate(env)
- env['LINK'] = env.Detect(linkers) or 'cc'
- env['LINKFLAGS'] = '-LANG:std'
+ env['LINK'] = env.Detect(linkers) or 'cc'
+ env['SHLINKFLAGS'] = '$LINKFLAGS -shared'
def exists(env):
return env.Detect(linkers)
'rmic',
'SCCS',
'sgiar',
+ 'sgic++',
'sgicc',
'sgilink',
'Subversion',