__cxa_pure_virtual

Sinisa Milivojevic sinisa@mysql.com
Thu Nov 22 23:54:00 GMT 2001


Hi!

Sorry for bothering you.

Please CC: a reply to me as I am not a member of the list.

Is there a way of compiling a C++ file, which does not contain any
references to STL classes, so that resultant object file will have no
references to the above symbol, defined in pure.cc of libstdc++.

This is a problem in 3.0[1,2]

I have tried using gcc for CXX, setting -fno-rtti -fno-exceptions, but
still libstdc++ has to be linked in , due to the above symbol.

Any solution or work-around ??


Many thanks in advance.

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <sinisa@mysql.com>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com



More information about the Gcc mailing list