Compiler output
The compiler can produce the following output:
The object files produced by the compiler use the industry-standard format ELF. By default, the object file has the filename extension
o.Optional list files
Various kinds of list files can be specified using the compiler option
-l, see -l. By default, these files will have the filename extensionlst.Optional preprocessor output files
A preprocessor output file is produced when you use the
‑‑preprocessoption. The file will have the filename extensioni, by default.Diagnostic messages
Diagnostic messages are directed to the standard error stream and displayed on the screen, and printed in an optional list file. For more information about diagnostic messages, see Diagnostics.
Error return codes
These codes provide status information to the operating system which can be tested in a batch file, see Error return codes.
Size information
Information about the generated amount of bytes for functions and data for each memory is directed to the standard output stream and displayed on the screen.
Functions or data objects that can be shared between modules are reported as shared. If any of these occur in more than one module, only one copy is retained. For example, in some cases inline functions are not inlined, which means that they are marked as shared, because only one instance of each function will be included in the final application. This mechanism is sometimes also used for compiler-generated code or data not directly associated with a particular function or variable, and when only one instance is required in the final application.