Compiler Switches (GNAT User’s Guide for Native Platforms) (original) (raw)
Next: Linker Switches, Previous: Compiling with gcc, Up: Building Executable Programs with GNAT [Contents][Index]
4.3 Compiler Switches ¶
The gcc
command accepts switches that control the compilation process. These switches are fully described in this section: first an alphabetical listing of all switches with a brief description, and then functionally grouped sets of switches with more detailed information.
More switches exist for GCC than those documented here, especially for specific targets. However, their use is not recommended as they may change code generation in ways that are incompatible with the Ada run-time library, or can cause inconsistencies between compilation units.
- Alphabetical List of All Switches
- Output and Error Message Control
- Warning Message Control
- Info message Control
- Debugging and Assertion Control
- Validity Checking
- Style Checking
- Run-Time Checks
- Using gcc for Syntax Checking
- Using gcc for Semantic Checking
- Compiling Different Versions of Ada
- Character Set Control
- File Naming Control
- Subprogram Inlining Control
- Auxiliary Output Control
- Debugging Control
- Exception Handling Control
- Units to Sources Mapping Files
- Code Generation Control