linking problems - __cxa_pure_virtual

Andy Howell AndyHowell@austin.rr.com
Thu Jul 10 00:23:00 GMT 2003


LLeweLLyn Reese wrote:

>>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.

Thats the odd thing, it was calling g++. I thought the supc++ was 
"supplimental". I've since realized that I need -lstdc++ instead. I'm 
sure I should not need to do this, but it works now, so I'm happy.

Thanks,

	Andy





More information about the Gcc-help mailing list