[Lazarus] How to pass -fPIC to compiler

Leonardo M. Ramé l.rame at griensu.com
Wed May 18 15:47:18 CEST 2011


Hi, I need to compile a shared library with -fPIC. How can I set that
flag in Lazarus.

Using fpc along I just add "-fPIC" to the command line, but I don't know
how to do this in Lazarus.

P.S.: I use 0.9.31

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list