| |||
| Home > Linker command-line options > --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.
The linker outputs a downgradable error if --shared is
used and --fpic is not used.