RE: [PHP-DEV] Re: how to force object-files into the build-system?
| From: | David Shafer | Date: | Fri, 16 Jun 2000 21:07:50 +0000 |
| Subject: | RE: [PHP-DEV] Re: how to force object-files into the build-system? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21567@lists.php.net to get a copy of this message | ||
> By default, the C frontend will tell the link editor to link
> against libc. If we now go and add a -lc_r, this will result
> in problems. On AIX, `gcc -mthreads' and xlc_r/cc_r will do
> the right thing (linking only against reentrant libraries).
So if a person is trying to enable the oci8 extensions on AIX using the IBM
compiler, they should (in fact _must_, according to the Oracle
documentation) use cc_r/xlc_r. Is there a way 'configure' could
intelligently determine that?
- Dave