C++: Difference between revisions

Line 16: Line 16:
* <code>-O3</code> for level 3 optimizations
* <code>-O3</code> for level 3 optimizations
* <code>-g</code> to include debugging info
* <code>-g</code> to include debugging info
* <code>-march=native</code> - use all instructions available on the current CPU
* <code>-mtune=native</code> - optimize for the current CPU


===Syntax===
===Syntax===