httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Galbavy <>
Subject Re: Solution for weird DSO issues
Date Fri, 23 Jul 1999 13:22:21 GMT
On Fri, Jul 23, 1999 at 05:01:34PM +0400, Khimenko Victor wrote:
> >> So, before we release Apache-1.3.7, I'd like to tweak apxs to use gcc
> >> -shared instead of ld -Bshareable on systems where we build with gcc unles
> >> someone objects.  Or Ralf, if you are listening, do you want to do it?

> `ld -Bshareable' will NOT produce the same result as `gcc -shared'.
> `ld -Bshareable' produce static binaries while `gcc -shared' will produce
> dynamic binaries... At least with GLibC 2.1 ...

Just a reference point, not all gcc (egcs) systems use glibc ...
OpenBSD for example uses an old GNU-ld based linker, but with some
hacks. It should be used (AFAIK) instead of gcc -shared.

Peter Galbavy
Knowledge Matters Ltd

View raw message