MySQL 4.1, GCC 3.x, FreeBSD 4.x

John Nielsen lists at jnielsen.net
Wed Sep 21 11:47:49 PDT 2005


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


More information about the freebsd-stable mailing list