You copied the Doc URL to your clipboard.

--fpic

This option enables you to link Position-Independent Code (PIC), that is, code that has been compiled using the --apcs=/fpic qualifier. Relative addressing is only implemented when your code makes use of System V shared libraries.

Note

The linker outputs a downgradable error if --shared is used and --fpic is not used.

Usage

You must use --fpic with --sysv and --shared.

Was this page helpful? Yes No