Linking

See detailed Linking section.

Option

Description

Default

-Bdynamic

Used with -lname (see below), enables dynamic linking of libraries at run time. Compared to static linking, results in smaller executables.

OFF

-Bstatic

Enables linking a user's library statically.

 

-c

Compile to object only (.o), do not link.

OFF

-C90

Link with alternate I/O library for mixed output with the C language.

OFF

-dynamic-linkerfile

Specifies in file a dynamic linker of choice, rather than default.

OFF

-i_dynamic

Enables to link Intel-provided libraries dynamically.

OFF

-Ldir

Instructs linker to search dir for libraries.

OFF

-lname

Link with a library indicated in name.

OFF

-p, -qp

Compile and link for function profiling with UNIX prof tool.

OFF

-pg
IA-32 only

Compile and link for function profiling with Linux gprof tool.

OFF

-posixlib

Enables linking with POSIX* library.

OFF

-shared

Instructs the compiler to build a Dynamic Shared Object (DSO) instead of an executable.

OFF

-static

Enables static linking of  libraries.

OFF

-Vaxlib

Enable linking with portability library.

OFF