# Bsymbolic

Binds references to all global symbols in a program to the definitions within a user's shared library. This content is specific to C++; it does not apply to DPC++.

## Syntax

Linux: | -Bsymbolic

Windows: | None

## Arguments

None

## Default

OFF | When a program is linked to a shared library, it can override the definition within the shared library.

## Description

This option binds references to all global symbols in a program to the definitions within a user's shared library.

This option is only meaningful on Executable Linkage Format (ELF) platforms that support shared libraries.

### CAUTION

This option can have unintended side-effects of disabling symbol preemption in the shared library.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Linking or Linker Options

## See Also

Bsymbolic-functions compiler option