Date: Wed, 21 Sep 2005 14:47:35 -0400 From: John Nielsen <lists@jnielsen.net> To: Alex Dupre <sysadmin@alexdupre.com> Cc: stable@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: MySQL 4.1, GCC 3.x, FreeBSD 4.x Message-ID: <200509211447.36390.lists@jnielsen.net> In-Reply-To: <4331A941.5090509@alexdupre.com> References: <200509211431.19141.lists@jnielsen.net> <4331A941.5090509@alexdupre.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 21 September 2005 14:41, Alex Dupre wrote: > John Nielsen wrote: > > I would like to experiment with different build options/flags in the > > hopes of boosting performance. Specifically, I'd like to build it with > > linuxthreads and optimized C flags, but I am wary of using -O3 with gcc > > 2.9. Am I just being paranoid? > > Yes, you are. Most MySQL binary packages are compiled with gcc 2.9 and > -O3. Good to know. Thanks! On Wednesday 21 September 2005 14:39, Kris Kennaway wrote: > USE_GCC is wrong, it's not a user-controllable variable. Set CC > instead. > > This might be OK as long as there is no C++ code involved, which > cannot be linked to C++ code from gcc 2.95. > > -O3 can be dangerous, so use with care. I might play around with the CC option. Thanks for straightening me out. JN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509211447.36390.lists>