This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: linking problems - __cxa_pure_virtual
- From: LLeweLLyn Reese <llewelly at lifesupport dot shutdown dot com>
- To: Andy Howell <AndyHowell at austin dot rr dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 09 Jul 2003 06:01:32 -0700
- Subject: Re: linking problems - __cxa_pure_virtual
- References: <3F0A5B1B.2030902@austin.rr.com> <3F0A65F0.50807@austin.rr.com>
- Reply-to: gcc-help at gcc dot gnu dot org
Andy Howell <AndyHowell@austin.rr.com> writes:
> Andy Howell wrote:
>
> I needed to add -lsupc++ to the linker flags. It links now.
[snip]
In the future, link c++ using g++ and not gcc or ld so you will not
have to track down weird errors like this. g++ will put the right
flags in for you.