<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Command Line Arguments :: Ginmake Manual</title>
    <link>https://gems.co.uk/command-line-arguments.html</link>
    <description>Command Line:&#xA;ginmake [options] [targets … n]&#xA;targets Defines the list of input files (*.h file(s) and/or *.grh file(s))&#xA;options Option Meaning -a Automatic output gin file name. –a2l Generate ASAM format A2L file instead of the default GEMS GIN file format. In this mode, the preprocessor symbol __GINMAKE_A2L__ shall be defined while parsing code. –array-alignment=value Align all arrays to at least this value if the alignment of the underlying type is smaller. –asm-to-c=folder Convert ASM .h files to C and output files to the given folder. The files will have the same name as the original. The output folder will be created if it does not already exist. -c Disable checking of names against the names database. REMOVED – see –namecheck. -C Disable interactive shell for name checking. Unknown names will generate warnings only. REMOVED – see –namecheck-shell. -d[symbol][=value] Define a symbol. -e[filename] Write errors and warnings to the file. Overwrites existing file. -f Force output directory (create folders if they don’t exist). -g[filename] Update source code based upon supplied template gin file. -i[version] Install GIN after it has been created. ‘version’ is optional and can be ‘3’, ‘4’ or ‘ALL’. Default is ‘ALL’. This version number corresponds to the toolset that will use the GIN file. Version 3 implies all software before Gwv4. Version 4 handles gin files using a setup file rather than the registry and always copies files to a special Windows ‘application data’ folder (the path of which varies between Windows versions). -l Disable Automatic Address Alignment –minify[=source.gin] Create a minified GIN based on a template GIN, default is last built GIN. Use –minify-list to generate a JSON template to use as a starting point. See GIN Minification (Customer GIN creation) for details and examples. –minify-template=templatefile The template (and path) used to minify, can be a GIN, GWE2 cgt, or a JSON file. –minify-output=path Output path to the minified GIN. –minify-list=source.gin Create a minification JSON template from the specified GIN file. See GIN Minification (Customer GIN creation). –minify-list-output=output.json5 Optional output path for JSON template. If not specified, the path will be generated from the source GIN name. -n Suppress start-up banner (the copyright message). –namecheck Enable checking of names against the names database. –namecheck-shell Enable interactive shell for name checking. Unknown names will generate warnings only. -o[filename] Output gin file name. %n will be replaced with the ECU name %v will be replaced with the ECU version. Note that the command line and batch files have a special meaning for the % character so you may need to specify these as %%n and %%v. -p[path] Output path – default is the current working directory. -q Output path set to GW’s default directory for the GIN created. This takes into account whether ‘Use Ecu Folders’ is set. -r Output XREF and XDEF definitions for variables in the header files. Files with the same name as the header file, suffixed with ‘.xref’ and ‘.xdef’ will be generated. -s[type] Source Type (‘C’ or ‘ASM’, default ‘C’). -t Dump the pre-processor symbol table at the end of the build. –timestamps Include creation timestamps and automatically generated dated notes. Enabled by default for both GIN and A2L output. –no-timestamps Disable creation timestamps and automatically generated dated notes, for example when comparing complete generated files in regression tests. Applies to both GIN and A2L output. –treat-duplicates-as-warnings Duplicate object names of the same type will issue a warning instead of an error. Defaults to an error. Added in version 2.21. -u[code] Suppress the error or warning as identified by its numerical code. -v Specify output version (e.g. -v3.11). –verbose Verbose output (e.g., for linker address map verification) –version Display only the ginmake version, then exit successfully. No license or input files are required. Other arguments are ignored. –verify-mapfile-gin=ginpath Verify memory addresses. GIN file (optional). If not provided, and a GIN was also built, the generated GIN is used. See Verification of Memory Addresses. –verify-mapfile=mapfilepath Verify memory addresses. Linker map file (required), see Verification of Memory Addresses. Use with –verbose for more verbose output. -w Prompt for overwrite (defaults to always overwrite). This will probably not work if you are compiling within your IDE. -x Pause at application exit (for debug). -y Treat warnings as errors. -z[filename] Write pre-processor output to file (debug). -G[filename] Generate an ‘automatic’ name for the given gin file. -I[filename] Install the gin file with the supplied name. -V Output a list of supported versions. Examples A C build:</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <atom:link href="https://gems.co.uk/command-line-arguments/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>