-F may not be used without -shared lazarus / 32-Linux ---------------------------------------------------------------------- Robert Gilland · 2013-11-13 00:13 I am linking my program in CentOS 6.3 I get the above error the full error is this /usr/bin/ld: -F may not be used without -shared. Error while linking Now I am stumped. I have searched everywhere nothing I can do. ---------------------------------------------------------------------- Robert Gilland · 2013-11-13 06:15 OK resolved issue. There was a -dTEST_GENERICS switch in the linking options I removed it it compiled