



fstack-usage Makes the compiler output stack usage information for the program, on a See Stack Overflow Checking for details of the use of this option. Optimization and Strict Aliasing for details. fno-strict-aliasing Causes the compiler to avoid assumptions regarding non-aliasing This includes suppression of inlining that resultsįrom the use of the pragma Inline_Always. fno-inline Suppresses all back-end inlining, even if other optimization or inlining In the case of GNAT, youĬannot use this approach, because the binder must be runĪnd gcc cannot be used to run the GNAT binder. The case of C and C++, it is possible to useĬompile and link in one step. Note: for some other languages when using gcc, notably in Always use this switch when compiling Ada programs. When multiple versions of the GNAT compiler are available. B dir Load compiler executables (for example, gnat1, the Ada compiler)įrom dir instead of the default location. Target is not the same as your host system. You must have a GNAT cross-compiler built if Code Generation Control -b target Compile your program to run on target, which is the name of a.The Ada run-time library, or can cause inconsistencies between They may change code generation in ways that are incompatible with More switches exist for GCC than those documented here, especiallyįor specific targets. These switches are fully described in this section.įirst we briefly list all the switches, in alphabetical order, then weĭescribe the switches in more detail in functionally grouped sections. The gcc command accepts switches that control theĬompilation process. Next: Search Paths and the Run-Time Library (RTL),
