RE: [PHP-DEV] Re: how to force object-files into the build-system?
| From: | Sascha Schumann | Date: | Fri, 16 Jun 2000 20:56: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-21564@lists.php.net to get a copy of this message | ||
On Fri, 16 Jun 2000, David Shafer wrote:
> > This will take care of the library list in sysliblist and
> > prevents adding references to libc_r or libpthreads.
>
> Is allowing those references to libc_r and libpthreads really such a bad
> thing, considering they're required by the Oracle 8 client libraries? It
> seems you'd just want to include everything listed in the sysliblist file.
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).
- Sascha