Re: -fno-implicit-templates, -fno-exceptions,-fno-rtti problems

2002-02-20 Thread Heikki Tuuri
Hi! >> You may want to try out Intel's C++ compiler for Linux if you are using an >> ix86 CPU. We used it here at work and it resulted in code that ran more than >> twice as fast, though we have never tried it with MySQL. > >I wonder whether Intel's C++ compiler accept those flags. Are those fla

Re: -fno-implicit-templates, -fno-exceptions,-fno-rtti problems

2002-02-19 Thread Peng Zhao
> somewhat that exceptions aren't thread-safe in egcs. Still, it would be > worth trying out with gcc 2.95.x or gcc 3.x. I used 2.95.3 to compile mysql, it is fine, just because it accepts those flags. I didnot try to switch those flags off and compile. > > > I am using orcc to compile mysq

Re: -fno-implicit-templates, -fno-exceptions,-fno-rtti problems

2002-02-19 Thread Christopher Thompson
On Tuesday 19 February 2002 4:56 pm, Peng Zhao wrote: > Thanks for your reply. But You can find something from > http://www.mysql.com/doc/I/B/IBM-AIX.html : Thanks, I hadn't noticed that. > "If you are using gcc or egcs to compile MySQL, you must use the > -fno-exceptions flag, as the exception

Re: -fno-implicit-templates, -fno-exceptions,-fno-rtti problems

2002-02-19 Thread Peng Zhao
Thanks for your reply. But You can find something from http://www.mysql.com/doc/I/B/IBM-AIX.html : "If you are using gcc or egcs to compile MySQL, you must use the -fno-exceptions flag, as the exception handling in gcc/egcs is not thread safe! (This is tested with egcs 1.1.)" And it also says

Re: -fno-implicit-templates, -fno-exceptions,-fno-rtti problems

2002-02-19 Thread Christopher Thompson
On Tuesday 19 February 2002 4:31 pm, Peng Zhao wrote: > Can somebody tell me why these 3 flags must be added when I > compile mysql from source code? I am trying to use another compiler I see no reason that these should be required. -fno-implicit-templates simply requires all templates to be exp

-fno-implicit-templates, -fno-exceptions,-fno-rtti problems

2002-02-19 Thread Peng Zhao
Can somebody tell me why these 3 flags must be added when I compile mysql from source code? I am trying to use another compiler instead gcc to compile mysql. But it doesnot accept these three flags. >From the readme, it seems to me that these flags (especially -fno-exceptions must be u