[fpc-pascal] Linux x64 linking error (FPC_ABSMASK_SINGLE)

denisgolovan denisgolovan at yandex.ru
Mon Mar 2 14:36:13 CET 2015

> How can I fix it? Should I pass -fPIC argument (and how to do this)?

AFAIK, PIC code generation is turn on by default.
Are you sure you don't have an opposite problem?
Sometimes when you have asm code written with hard-coded offsets you can get a module which can't be PIC-compiled.

See fpc -h params for _disabling_ PIC code generation.

Denis Golovan

More information about the fpc-pascal mailing list