|Non-Confidential||PDF version||ARM DUI0375E|
|Home > Getting Started with the Compiler > Minimizing compilation build time|
There are a number of actions you can take to minimize how long the compiler takes to compile your source code.
-O3gives maximum optimization in the code that is generated, but can result in longer build times to achieve such results.
restrictkeyword if you can safely do so, to avoid the compiler having to do compile-time checks for pointer aliasing.
--multifilecompilation, depending on the resulting build time.
--multifileis enabled by default.
--multifileis disabled by default, regardless of the optimization level.