5.7.3 Options for Controlling the C Dialect
The options tabulated below define the type of C dialect used by the compiler and are discussed in the sections that follow.
Option (links to explanatory section) | Definition |
---|---|
-ansi | Support all (and only) ANSI-standard C programs. |
-aux-info filename | Generates function prototypes from a C module, placing the output in a file with the specified name. |
-f[no-]freestanding | Asserts that the project will be built for a freestanding (as opposed to a hosted) environment. |
-f[no-]asm | Restricts the recognition of certain keywords, freeing them to be used as identifiers. |
-fno-builtin
| Don’t recognize built-in functions that do not begin with __builtin_ as prefix. |
-std=standard |
Specifies the language standard with which to build programs |
-f[no-]unsigned-bitfields -f[no-]signed-bitfields |
Changes the
signedness of a plain int
bit-field. |
-f[no-]signed-char -f[no-]unsigned-char | Changes the signedness of a plain char
type. |