Summary of useful GCC and Clang compiler options
The following is a list of the compiler switches already encountered, with the addition of other useful switches and why you might want to use them:
![](https://static.packt-cdn.com/products/9781801078450/graphics/image/B17411_Figure_28.3.jpg)
There is a dizzying array of options switches for the GCC compiler. These can be found on the GNU website at https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html.