# fsycl-host-compiler

Tells the compiler to use the specified compiler for the host compilation of the overall offloading compilation that is performed. This content is specific to DPC++.

## Syntax

Linux: | -fsycl-host-compiler=arg

Windows: | -fsycl-host-compiler=arg

## Arguments

arg | Is the compiler that will be the host for compilation. It can be the name of a compiler or the specific path to the compiler.

## Default

OFF | The host compilation will be performed by the DPC++ compiler.

## Description

This option tells the compiler to use the specified compiler for the host compilation of the overall offloading compilation that is performed.

To use this option, you must also specify option fsycl.

## IDE Equivalent

None

## Alternate Options

None

## Example

Consider the following:

    -fsycl-host-compiler=g++              // the compiler looks for g++ in the current path
    -fsycl-host-compiler=/usr/bin/g++     // the compiler looks for g++ in the explicit path

Parent topic: Offload Compilation Options, OpenMP* Options, and Parallel Processing Options

## See Also

fsycl compiler option
fsycl-host-compiler-options compiler option