3.3.2 collect2 on AIX with .so libraries
Albert Chin
gcc@mlists.thewrittenword.com
Mon Oct 25 16:03:00 GMT 2004
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)
More information about the Gcc
mailing list