Re: [PHP4BETA] -fPIC for main code
| From: | Stig Bakken | Date: | Sat, 24 Jul 1999 18:13:28 +0000 |
| Subject: | Re: [PHP4BETA] -fPIC for main code | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2690@lists.php.net to get a copy of this message | ||
On Sat, 24 Jul 1999, Andrey Zmievski wrote:
> Since we now start working with shared extensions, shouldn't the main
> code be compiled with -fPIC? Otherwise, when the extension is loaded
> it won't find the external symbols.
There is AFAIK no need for the main part of PHP to be compiled as position
independent code unless it is a shared library as well. Only shared
objects need to be compiled as PIC.
- Stig