This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.3.2 collect2 on AIX with .so libraries
On Mon, Oct 25, 2004 at 10:45:56AM -0400, David Edelsohn wrote:
> >>>>> Albert Chin writes:
>
> Albert> On Mon, Oct 25, 2004 at 10:19:55AM -0400, David Edelsohn wrote:
> >> GCC collect2 searches for library file extension ".a" first, then
> >> looks for library file extension ".so".
>
> Albert> How do I get it to prefer ".so"?
>
> Change collect2.c libext array.
>
> One could change it for all situations or depend on -brtl.
Would a patch to prefer ".so" with "-brtl" be accepted? That seems
like the correct approach.
--
albert chin (china@thewrittenword.com)