This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Linking errors with gcc 3.1 on AIX 4.3.3
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Travis_Ackerman at cargill dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 30 Jun 2002 22:00:32 -0400
- Subject: Re: Linking errors with gcc 3.1 on AIX 4.3.3
- References: <H000086a0c6b9520.1023738716.wich.cgo.cargill.com@MHS>
Those linker errors are expected. G++ relies upon weak symbols
for implicit template instantiation. On systems without that
functionality, one needs to explicitly instantiate templates. One can see
how to instantiate the templates needed by libstdc++ in the libstdc++
testsuite 27_io. Look for GXX_WEAK.
David