Walter Andreas wrote:

>how to compile mysql 4.0.18 on a pentium for best performance?

Check the INSTALL-SOURCE file in your source distribution.



I found this:


CFLAGS="-O2 -mcpu=pentiumpro" CXX=gcc CXXFLAGS="-O2 -mcpu=pentiumpro -felide-constructors" ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysqladm --without-debug --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --disable-shared --localstatedir=/home/mysqladm/data --enable-assembler

but it says for x86 which could also be amd?! What about pgcc and how about -march=pentium4 which I found somewhere else on the net?


You haven't actually told us what processor ( 'pentium' is a marketing term, not a processor type ... there are many different types of pentiums ) you have, but you should be able to use -march=pentium4 or whatever matches your processor.

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: http://www.nusconsulting.com.au

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to