<?xml version="1.0" encoding="ISO-8859-1"?><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
  <title>Using gecc</title>
 </head>
 <body bgcolor="#FFFFFF">
  <table border="0" width="100%">
   <tr>
    <td><font size="6"><strong>Using gecc</strong></font></td>
    <td align="right"><a href="index.html"><img src="image/previous.gif" alt="Previous" border="0" /></a><a href="index.html"><img src="image/next.gif" alt="Next" border="0" /></a></td>
   </tr>
  </table>
  <hr size="1" />
  <div>
   <h2>Command-line options</h2>
   
   <p>
    The usual way to invoke <i>gecc</i> is as follows:
    
    <blockquote>
     	<font color="#800000"><i><tt>gecc &lt;script_filename&gt;</tt></i></font>
     
    </blockquote>
    
    This will read the C compilation command-lines generated by <i>gec</i>
    in the script file <font color="#800000"><i><tt>&lt;script_filename&gt;</tt></i></font> (typically of the form 
    <font color="#800000"><i><tt>&lt;system_name&gt;.bat</tt></i></font> or <font color="#800000"><i><tt>&lt;system_name&gt;.sh</tt></i></font>).
    It will execute them (except the last one) concurrently using a number of threads corresponding
    to the number of CPUs available on the machine), and then will execute the last line (which
    is supposed to be the link command to generate the executable file).
    
   </p>
   <p>
    Here is the list of options that can be used with <i>gecc</i>:
    
    <dl>
     	
     <dt>
      			<font color="#800000"><i><tt>-h</tt></i></font>
      		
     </dt>
     <dt>
      			<font color="#800000"><i><tt>--help</tt></i></font>
      		
     </dt>
     <dd>
      			Print a summary of the command-line options of <i>gecc</i> and exit.
      		
     </dd>
     	
     <dt>
      			<font color="#800000"><i><tt>--thread=&lt;thread_count&gt;</tt></i></font>
      		
     </dt>
     <dd>
      			Number of threads to be used to run <i>gecc</i>.
      			Negative numbers -N mean "number of CPUs - N".
      			(default: number of CPUs)
      		
     </dd>
     	
     <dt>
      			<font color="#800000"><i><tt>-V</tt></i></font>
      		
     </dt>
     <dt>
      			<font color="#800000"><i><tt>--version</tt></i></font>
      		
     </dt>
     <dd>
      			Print the version number of <i>gecc</i> and exit.
      		
     </dd>
     
    </dl>
    
   </p>
   
  </div>
  <hr size="1" />
  <table border="0" width="100%">
   <tr>
    <td>
     <address><font size="2"><b>Copyright © 2018, Eric Bezault</b><br /><b>mailto:</b><a href="mailto:ericb@gobosoft.com">ericb@gobosoft.com</a><br /><b>http://</b><a href="http://www.gobosoft.com">www.gobosoft.com</a><br /><b>Last Updated: </b>6 October 2018</font></address>
    </td>
    <td align="right" valign="top"><a href="http://www.gobosoft.com"><img src="image/home.gif" alt="Home" border="0" /></a><a href="index.html"><img src="image/toc.gif" alt="Toc" border="0" /></a><a href="index.html"><img src="image/previous.gif" alt="Previous" border="0" /></a><a href="index.html"><img src="image/next.gif" alt="Next" border="0" /></a></td>
   </tr>
  </table>
 </body>
</html>