This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __cxa_pure_virtual
- From: Sinisa Milivojevic <sinisa at mysql dot com>
- To: pedwards at disaster dot jaj dot com
- Cc: nathan at codesourcery dot com, gcc at gcc dot gnu dot org
- Date: Sat, 1 Dec 2001 14:57:44 +0200
- Subject: Re: __cxa_pure_virtual
- References: <15367.40775.654107.915798@sinisa.nasamreza.org><3C07BD2B.9BC71FAB@codesourcery.com><15367.49378.248361.802961@sinisa.nasamreza.org><20011130143758.A29724@disaster.jaj.com>
- Reply-to: sinisa at mysql dot com
Phil Edwards writes:
>
> It's part of GCC 3.0. If you compiled a C++ compiler, then it should be
> possible to only type
>
> g++ -o a.out ...... -lsupc++
>
> while linking.
>
>
> Phil
>
Thank you, I found it out myself pretty fast !!
Small explanation. We (from MySQL) do not like linking in any code
which has any form of C++ exceptions, as we found out too many
problems with our multi-threaded server on high load on many different
platforms.
Therefore, I have resolved the above symbol in the manner suggested by
Nathan (thanks again).
Then I had to resolve missing new / delete operators, which I did by
writting my own set of operators, without any use of exceptions or any
other symbol defined in libsupc++.
So far, all works just fine, thank you !!
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa@mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com