Avoid References to Compiler-Specific Libraries (Linux*)

While compiler-specific libraries are intended to improve the performance of your application, they increase the size of your binaries.

Certain compiler options may improve the code size.

Options to specify:

Linux*: -ffreestanding

Advantages of this method:

The compiler will not assume the presence of compiler-specific libraries. It will only generate calls that appear in the source code.

Disadvantages of this method:

This method may sacrifice performance if the library codes were in hotspots. Also, since we cannot assume any libraries, some compiler optimizations will be suppressed.

Notes: