To get MySQL to compile on Linux IA-64, we use the following configure command for building with gcc 2.96:
CC=gcc \
CFLAGS="-O3 -fno-omit-frame-pointer" \
CXX=gcc \
CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors \
    -fno-exceptions -fno-rtti" \
    ./configure --prefix=/usr/local/mysql \
    "--with-comment=Official MySQL binary" \
    --with-extra-charsets=complex
          On IA-64, the MySQL client binaries use shared libraries. This
          means that if you install our binary distribution at a
          location other than /usr/local/mysql, you
          need to add the path of the directory where you have
          libmysqlclient.so installed either to the
          /etc/ld.so.conf file or to the value of
          your LD_LIBRARY_PATH environment variable.
        
See Section A.5.3.1, “Problems Linking to the MySQL Client Library”.


User Comments
Add your own comment.