I compiled a library with the option -fPIC, And add the option in Misc controls. Output error when build: test.c: error: C3900U: Unrecognized option '-fPIC'.
So did you then try Google to figure out some possible reasons?
Might you be using an evaluation version of the compiler?
"The compiler and assembler do not generate position-independent code or data. The --apcs /ropi /rwpi /pic/ pid compiler and assembler command line options are disabled. " http://www.keil.com/demo/limits.asp