This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linking problems - __cxa_pure_virtual


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.

    
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]