This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Confused by Multilib on AIX
- To: egcs at cygnus dot com
- Subject: Confused by Multilib on AIX
- From: Frank Pilhofer <fp at informatik dot uni-frankfurt dot de>
- Date: Thu, 8 Oct 1998 15:14:23 +0200
Hi,
I have run into problems with egcs 1.1a's libstdc++ on the
rs6000-ibm-aix4.2.1.0 architecture. I am fooling around with
shared libraries.
egcs installs 6 versions of libstdc++:
./libstdc++.so
./soft-float/libstdc++.so
./soft-float/power/libstdc++.so
./soft-float/powerpc/libstdc++.so
./power/libstdc++.so
./powerpc/libstdc++.so
My problem is that these libraries refuse to load at runtime. If you
want to dynamically load a module that is linked against one of the
afore-mentioned libstdc++ versions into a main program that is *not*
linked against libstdc++ (meaning that libstdc++ is supposed to be
loaded at runtime), dlopen() reports "Exec format error."
The same happens when you try to dlopen() libstdc++ directly.
Any solution?
Frank
--
+ Frank Pilhofer fp@informatik.uni-frankfurt.de +
| http://www.uni-frankfurt.de/~fp/ |
+---- Life would be a very great deal less weird without you. - DA ----+