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 explicit. -fno-exceptions tells the compiler that the code does not use exceptions (throw, catch, etc.) and results in a speed increase. -fno-rtti is for runtime type information, often used along with dynamic_cast<> and the like. Again, a speed increase and/or compiled code decrease if that is selected. > instead gcc to compile mysql. But it doesnot accept these three flags. I'm curious... what are you using? Anyway, in summary and unless someone else speaks up, I see no reason why you'd actually need these flags. With gcc, these flags will improve performance a little but that is about all. --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php