[superh-gnu-discuss] linker stripping shared libraries by default

Guennadi Liakhovetski g.liakhovetski at gmx.de
Mon Dec 6 18:54:20 UTC 2010


Hi Andrew

On Mon, 6 Dec 2010, Andrew Stubbs wrote:

> On 29/11/10 10:09, Guennadi Liakhovetski wrote:
> > sh-linux-gnu-ld -shared -soname,libavutil.so.50 \
> 
> This is wrong; you have a stray comma.
> 
> Actually, it's highly recommended that you don't use ld directly, ever. Please
> link using the gcc compile driver, and things should go smoother all round.

Yes, I've changed the ./configure parameters by removing the --ld=... 
entry, switched to using gcc for all linking and the problem is gone.

Thanks
Guennadi

> Hope that helps
> 
> Andrew

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/



More information about the superh-gnu-discuss mailing list