bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Links self with wrong linker


From: Ralf Wildenhues
Subject: Re: Links self with wrong linker
Date: Tue, 5 Apr 2005 21:57:33 +0200
User-agent: Mutt/1.5.6+20040907i

* Morten Welinder wrote on Tue, Apr 05, 2005 at 09:24:26PM CEST:
> There are two things wrong with the output below:
> 
> 1. This isn't true: "checking for ld used by gcc... /usr/ccs/bin/ld" 
> (This gcc links with
>     
> /usr/local/gnu/install/gcc/2.9.5.2/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/collect2)

Show
$ gcc -print-prog-name=ld

> 2. It links with "gcc -shared" even though it was asked to link with
> /usr/ccs/bin/ld
> 
> collect2 does *something* different from /usr/ccs/bin/ld.  As a
> consequence I end up with a library I cannot use.

Followup error?

Regards,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]