5.7.3.4 Freestanding Option
The -ffreestanding
option asserts that the project will be built for a freestanding (as opposed to a hosted) environment.
A freestanding environment is one in which the standard library may not be fully implemented, and program start-up and termination are implementation defined.
This option is identical to the -fno-hosted
option and implies the -fno-builtin
option.
The -fno-freestanding
option is identical to the -fhosted
option and indicates that the project will be built for a hosted environment.