From: <pat...@us...> - 2007-05-30 21:19:15
|
Revision: 575 http://svn.sourceforge.net/xml-cppdom/?rev=575&view=rev Author: patrickh Date: 2007-05-30 14:19:13 -0700 (Wed, 30 May 2007) Log Message: ----------- Basic support for using the Sun Forte C++ compiler. This chnage has been sitting in my tree for about 4.5 months. Modified Paths: -------------- branches/0.6/SConstruct Modified: branches/0.6/SConstruct =================================================================== --- branches/0.6/SConstruct 2007-01-09 21:50:11 UTC (rev 574) +++ branches/0.6/SConstruct 2007-05-30 21:19:13 UTC (rev 575) @@ -192,7 +192,13 @@ ret_env = Environment( ENV = os.environ ) # Override the tool chains used - for t in ['gcc', 'gnulink', 'g++']: + cc_path = WhereIs('CC') + if cc_path is None: + tools = ['gcc', 'gnulink', 'g++'] + else: + tools = ['suncc', 'sunlink'] + + for t in tools: Tool(t)(ret_env) ret_env['CXXFLAGS'] = CXXFLAGS; @@ -259,7 +265,7 @@ platform = distutils.util.get_platform() # IA32 -if re.search(r'i.86', platform): +if re.search(r'i.?86', platform): cpu_arch_default = 'ia32' # x86_64 (aka, x64, EM64T) elif re.search(r'x86_64', platform): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |