This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: egcs-19980525 @ AIX, weird ln -s libstdc++.so.nnn libstdc++.


On 26-May-98 Yotam Medini wrote:
> 
> egcs-19980525 was built on AIX !!!

<snip>

> Still some problem. 
> When building the library, the following was issued:
> 
>    ln -f -s libstdc++.so.2.8.0 libstdc++.a
> 
> As a result the appropriate archive library 
> libstdc++.a was not built.
>
Appropriate archive library has name libstdc++-ar.a. This is because
AIX linker doesn't search for .so files (it has such feature in AIX4.2
and later, but it is not enabled by default; you should pass -bdynamic
or -bshared to linker). Note, that shared library support probably
will not work on AIX4.1.x, because it seems that my collect2 trick
to avoid multiple instances of globals in libgcc.a breaks AIX4.1.x
compartibility. Currently I have no idea how to avoid this problem
on AIX4.1.x, except to make libgcc shared, which is *not a good thing*.
On AIX4.2 all works fine, except one global problem with RTTI
(which also affects exception handling): there multiple instances
of typeinfo nodes in different shared libraries.

Regards,
Andrey



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]