Developer Guide and Reference

Contents

intel-freestanding

Lets you compile in the absence of a gcc environment.
This content is specific to C++; it does not apply to
DPC++
.

Syntax

Linux:
-intel-freestanding
[
=
ver
]
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.
IDE Equivalent
None
Alternate Options
None

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.