On Wednesday 20 June 2001 07:30, Michael Widenius wrote:
> Hi!
> 
> >>>>> "Sasha" == Sasha Pachev <[EMAIL PROTECTED]> 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 
binary)
> >> > 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 
BUILD 
> 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/SETUP.sh

> 
> 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 https://order.mysql.com/
   __  ___     ___ ____  __ 
  /  |/  /_ __/ __/ __ \/ /   Sasha Pachev <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\___/  Provo, Utah, USA
       <___/                  

---------------------------------------------------------------------
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

Reply via email to