Using gecc PreviousNext

Command-line options

The usual way to invoke gecc is as follows:

gecc <script_filename>
This will read the C compilation command-lines generated by gec in the script file <script_filename> (typically of the form <system_name>.bat or <system_name>.sh). 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).

Here is the list of options that can be used with gecc:

-h
--help
Print a summary of the command-line options of gecc and exit.
--thread=<thread_count>
Number of threads to be used to run gecc. Negative numbers -N mean "number of CPUs - N". (default: number of CPUs)
-V
--version
Print the version number of gecc and exit.


Copyright © 2018, Eric Bezault
mailto:ericb@gobosoft.com
http://www.gobosoft.com
Last Updated: 6 October 2018
HomeTocPreviousNext