MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Sasha Pachev Date:June 20 2001 6:18pm
Subject:Re: Testing MySQL 4.0
View as plain text  
On Wednesday 20 June 2001 07:30, Michael Widenius wrote:
> Hi!
> >>>>> "Sasha" == Sasha Pachev <sasha@stripped> writes:
> Sasha> On Tuesday 19 June 2001 17:43, Russell E Glaue wrote:
> >> > . After you've pulled, run BUILD/compile-pentium (for a lean fast 
> >> > or BUILD/compile-pentium-debug - it will build a binary for you.
> >> 
> >> We run all our MySQLs on the fast SPARCs and PPCs
> >> is pentium the only supported hardware right now?
> Sasha> No, but we do not have a nifty compile-solaris-sparc-debug in the 
> Sasha> directory yet, largely because none of our developers uses a Sparc 
for their 
> Sasha> primary development machine. We do have compile-solaris-sparc, 
though, and 
> Sasha> even compile-solaris-sparc-purify. Feel free to copy one of those, 
hack it 
> Sasha> and send it to us.
> Sasha> On most platforms, BUILD/compile-pentium should build a good binary 
even if 
> Sasha> the architecture is not a pentium.
> This is not really true, as BUILD/compile-pentium will include
> compiler options that only works on Intel (and not sparc)

Yes, just checked - there is only one Pentium specific option ( -mpentiumpro 
), and I have verified that gcc on Solaris gives an error instead of ignoring 
it. However, all BUILD/compile-pentium* scripts should work if you comment 
out pentium_cflags="-mpentiumpro" in BUILD/

> Another thing is that you should normally never use scripts in the BUILD
> options if you are not working on developing MySQL, as these scripts
> require that you have a lot of extra tools installed.
> To do a correct build on Solaris sparc you should use the
> following configure line:
> CFLAGS="-O3" CXX=gcc CXXFLAGS="-felide-constructors -fno-exceptions 
-fno-rtti  -O3 -fno-omit-frame-pointer" ./configure --prefix=/usr/local/mysql 
--enable-assembler --with-mysqld-ldflags=-all-static
> You can find more information about this in the MySQL manual in the
> Solaris section.

This works fine if you get a source tarball. However, if you pull from the 
tree, configure script is not checked it ( because it is auto-generated), so 
you have to use BUILD/compile-* or do aclocal; autoheader; autoconf; automake 
before you can execute configure.

MySQL Development Team
For technical support contracts, visit
   __  ___     ___ ____  __ 
  /  |/  /_ __/ __/ __ \/ /   Sasha Pachev <sasha@stripped>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB,
/_/  /_/\_, /___/\___\_\___/  Provo, Utah, USA
Testing MySQL 4.0Sasha Pachev20 Jun
  • Re: Testing MySQL 4.0Russell E Glaue20 Jun
    • Re: Testing MySQL 4.0Sasha Pachev20 Jun
      • Re: Testing MySQL 4.0Michael Widenius20 Jun
        • Re: Testing MySQL 4.0Russell E Glaue20 Jun
        • Re: Testing MySQL 4.0Sasha Pachev20 Jun
    • Problems in OPTIMIZE TABLE xxx...Milan Kajnar20 Jun
    • Re: Problems in OPTIMIZE TABLE xxx...Sinisa Milivojevic20 Jun
    • Re: Problems in OPTIMIZE TABLE xxx...Paul Cadach20 Jun
  • Re: Testing MySQL 4.0Tibor Simko9 Jul
    • Re: Testing MySQL 4.0Sasha Pachev9 Jul