Shared libraries on Alpha

Richard Henderson
Wed Feb 23 16:21:00 GMT 2000

On Wed, Feb 23, 2000 at 10:18:14AM -0500, K. Holcomb wrote:
> 	-ld -o $(SHARED_LIBRARY)  -shared $(OBJECTS) $(SO_LIB_FLAGS) 

Never ever link the shared library yourself with `ld'.  Always use
`gcc -shared', otherwise you can will and did get the wrong results.


More information about the Gcc mailing list