Re: linking problems - __cxa_pure_virtual

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux