This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AIX & shared libstdc++
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: AIX & shared libstdc++
- From: Andrey Slepuhin <pooh at msu dot ru>
- Date: Thu, 09 Oct 1997 20:01:20 +0400
- CC: egcs at cygnus dot com
- Organization: Moscow State University, Network Management Department
- References: <3439FE5B.53F1D3CC.cygnus.egcs@msu.ru> <u9zpolyj6m.fsf@yorick.cygnus.com>
Hi,
I tried to compile egcs-971008 on AIX 4.2.1 configured with option
--with-gnu-ld.
1) I had problems when installing binutils 2.8.1 because function
finfo()
already defined in unistd.h with parameters different from finfo() that
comes
with binutils distribution (solved by renaming this function and all
calls to it).
2) Compilation was successful except the attempt of making unexistent
target
"libs" in libraries/soft-float/powerpc/libstdc++/Makefile (why???).
Shared libstdc++ was created successfully with a size ~2.5M
3) Even the simple test program failed to run with message about exec
format error due to bad text alignment.
It seems to me that problem is not with egcs but with gnu ld which
generates
invalid executables. Any help is appreciated.
Andrey.
PS: egcs-970929, with manually built shared libstdc++ (with native ld)
still
works without errors. I just successfully compiled and tested
omniORB2,
and it seems that combination of shared libstdc++, multithreading
and
exceptions works fine.