This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
AIX: linking xlc libs with gcc
- To: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Subject: AIX: linking xlc libs with gcc
- From: Platzer Wolfgang <wolfgang dot platzer at infonova dot at>
- Date: Tue, 7 Nov 2000 12:58:49 +0100
Hi,
I created a shared lib on AIX 4.3.3 with
xlC -qmkshrobj -o libtest *.o
If I link a new program with this lib and xlC everything is fine.
But if I use g++ for the same problem, there are a lot of errors like:
ld: 0711-317 ERROR: Undefined symbol: .String::indexOf(String const &) const
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
Since all system libs on AIX are most probably also created with xlC and
linking with g++ is no problem, there should be a way of generating g++
compatible libs with xlC?
But how?
Wolfgang