NYCPHP Meetup

NYPHP.org

[nycphp-talk] --with-pic ... what's pic?

Chris Shiflett shiflett at php.net
Tue Nov 15 18:47:31 EST 2005


csnyder wrote:
> So I have a PHP install (from a Debian package I think) that
> was configured with the --with-pic switch.
> 
> Does anyone know what this does?

(PIC == Position Independent Code)

The performance gurus tell us to compile PHP with -prefer-non-pic (for 
DSOs to match the performance of a static library):

http://www.schlossnagle.org/~george/blog/index.php?/archives/58-The-DSO-Myth.html
http://www.schlossnagle.org/~george/blog/index.php?/archives/57-The-DSO-Myth-Part-2.html
http://www.schlossnagle.org/~george/blog/index.php?/archives/56-The-DSO-Myth-Part-3.html

Hope that helps.

Chris

-- 
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/



More information about the talk mailing list