<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>suncxx — Waf 1.7.11 documentation</title> <link rel="stylesheet" href="../_static/default.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '1.7.11', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <link rel="author" title="About these documents" href="../about.html" /> <link rel="copyright" title="Copyright" href="../copyright.html" /> <link rel="top" title="Waf 1.7.11 documentation" href="../index.html" /> <link rel="up" title="Waf Tools" href="../tools.html" /> <link rel="next" title="xlc" href="xlc.html" /> <link rel="prev" title="suncc" href="suncc.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="../py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="xlc.html" title="xlc" accesskey="N">next</a> |</li> <li class="right" > <a href="suncc.html" title="suncc" accesskey="P">previous</a> |</li> <li><a href="../index.html">Waf 1.7.11 documentation</a> »</li> <li><a href="../tools.html" accesskey="U">Waf Tools</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="module-waflib.Tools.suncxx"> <span id="suncxx"></span><h1>suncxx<a class="headerlink" href="#module-waflib.Tools.suncxx" title="Permalink to this headline">¶</a></h1> <dl class="function"> <dt id="waflib.Tools.suncxx.find_sxx"> <tt class="descclassname">waflib.Tools.suncxx.</tt><tt class="descname">find_sxx</tt><big>(</big><em>conf</em><big>)</big><a class="reference internal" href="../_modules/waflib/Tools/suncxx.html#find_sxx"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#waflib.Tools.suncxx.find_sxx" title="Permalink to this definition">¶</a></dt> <dd><p>Configuration Method bound to <a class="reference internal" href="../Configure.html#waflib.Configure.ConfigurationContext" title="waflib.Configure.ConfigurationContext"><tt class="xref py py-class docutils literal"><span class="pre">waflib.Configure.ConfigurationContext</span></tt></a></p> <p>Detect the sun C++ compiler</p> </dd></dl> <dl class="function"> <dt id="waflib.Tools.suncxx.sxx_common_flags"> <tt class="descclassname">waflib.Tools.suncxx.</tt><tt class="descname">sxx_common_flags</tt><big>(</big><em>conf</em><big>)</big><a class="reference internal" href="../_modules/waflib/Tools/suncxx.html#sxx_common_flags"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#waflib.Tools.suncxx.sxx_common_flags" title="Permalink to this definition">¶</a></dt> <dd><p>Configuration Method bound to <a class="reference internal" href="../Configure.html#waflib.Configure.ConfigurationContext" title="waflib.Configure.ConfigurationContext"><tt class="xref py py-class docutils literal"><span class="pre">waflib.Configure.ConfigurationContext</span></tt></a></p> <p>Flags required for executing the sun C++ compiler</p> </dd></dl> <dl class="function"> <dt id="waflib.Tools.suncxx.conf"> <tt class="descclassname">waflib.Tools.suncxx.</tt><tt class="descname">conf</tt><big>(</big><em>f</em><big>)</big><a class="headerlink" href="#waflib.Tools.suncxx.conf" title="Permalink to this definition">¶</a></dt> <dd><p>Decorator: attach new configuration functions to <a class="reference internal" href="../Build.html#waflib.Build.BuildContext" title="waflib.Build.BuildContext"><tt class="xref py py-class docutils literal"><span class="pre">waflib.Build.BuildContext</span></tt></a> and <a class="reference internal" href="../Configure.html#waflib.Configure.ConfigurationContext" title="waflib.Configure.ConfigurationContext"><tt class="xref py py-class docutils literal"><span class="pre">waflib.Configure.ConfigurationContext</span></tt></a>. The methods bound will accept a parameter named ‘mandatory’ to disable the configuration errors:</p> <div class="highlight-python"><div class="highlight"><pre><span class="k">def</span> <span class="nf">configure</span><span class="p">(</span><span class="n">conf</span><span class="p">):</span> <span class="n">conf</span><span class="o">.</span><span class="n">find_program</span><span class="p">(</span><span class="s">'abc'</span><span class="p">,</span> <span class="n">mandatory</span><span class="o">=</span><span class="bp">False</span><span class="p">)</span> </pre></div> </div> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>f</strong> (<em>function</em>) – method to bind</td> </tr> </tbody> </table> </dd></dl> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="suncc.html" title="previous chapter">suncc</a></p> <h4>Next topic</h4> <p class="topless"><a href="xlc.html" title="next chapter">xlc</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/tools/suncxx.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="../py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="xlc.html" title="xlc" >next</a> |</li> <li class="right" > <a href="suncc.html" title="suncc" >previous</a> |</li> <li><a href="../index.html">Waf 1.7.11 documentation</a> »</li> <li><a href="../tools.html" >Waf Tools</a> »</li> </ul> </div> <div class="footer"> © <a href="../copyright.html">Copyright</a> 2010, Thomas Nagy. </div> </body> </html>