• 19.1
  • 12/16/2019
  • Public Content
Contents

intel-freestanding

Lets you compile in the absence of a gcc environment.

Syntax

Linux:
-intel-freestanding
[
=
ver
]
macOS:
None
Windows:
None
Arguments
ver
Is a three-digit number that is used to determine the gcc version that the compiler should be compatible with for compilation. It also sets the corresponding GNUC macros.
The number will be normalized to reflect the gcc compiler version numbering scheme. For example, if you specify 493, it indicates the compiler should be compatible with gcc version 4.9.3.
Default
OFF
The compiler uses default heuristics when choosing the gcc environment.
Description
This option lets you compile in the absence of a gcc environment. It disables any external compiler calls (such as calls to gcc) that the compiler driver normally performs by default.
This option also removes any default search locations for header and library files. So, for successful compilation and linking, you must provide these search locations.
This option does not affect ld, as,
or cpp
. They will be used for compilation as needed.
This option does not imply option
-nostdinc -nostdlib
. If you want to assure a clean environment for compilation (including removal of Intel-specific header locations and libs), you should specify
-nostdinc
and/or
-nostdlib
.
This option is supported for any Linux-target compiler, including a Windows-host to Linux-target compiler.
Alternate Options
None

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804