| Précédent | Table des matière | Suivant |
![]() | ![]() |
Automatic detection of xlC is missing from Autoconf, so a
configure command something like this is needed when using the IBM
compiler:
shell> CC="xlc_r -ma -O3 -qstrict -DHAVE_INT_8_16_32" \
CXX="xlC_r -ma -O3 -qstrict -DHAVE_INT_8_16_32" \
./configure
If you are using egcs to compile MySQL, you
MUST use the -fno-exceptions flag, as the exception
handling in egcs is not thread-safe! (This is tested with
egcs 1.1.) We recommend the following configure line with
egcs and gcc on AIX:
shell> CXX=gcc \
CXXFLAGS="-felide-constructors -fno-exceptions -fno-rtti" \
./configure --prefix=/home/monty --with-debug --with-low-memory
If you have problems with signals (MySQL dies unexpectedly under high load) you may have found an OS bug with threads and signals. In this case you can tell MySQL not to use signals by configuring with:
shell> CFLAGS=-DDONT_USE_THR_ALARM CXX=gcc \
CXXFLAGS="-felide-constructors -fno-exceptions -fno-rtti -DDONT_USE_THR_ALARM" \
./configure --prefix=/home/monty --with-debug --with-low-memory
This doesn't affect the performance of MySQL, but has the side
effect that you can't kill clients that are ``sleeping'' on a connection with
mysqladmin kill or mysqladmin shutdown. Instead, the client
will die when it issues its next command.
![]() | Table des matières | ![]() |
| Précédent | ![]() | Suivant |