cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE
MySQL 5.6.21以上版本查看方法:
[mysql@localhost ~]$ VISUAL=vim; export VISUAL
cd /usr/local/mysql/bin
[root@node225 bin]# mysqlbug
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)
Compilation info (call): CC='/usr/bin/cc' CFLAGS=' -Wall -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF' CXX='/usr/bin/c++' CXXFLAGS=' -Wall -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF' LDFLAGS='' ASFLAGS=''
Compilation info (used): CC='/usr/bin/cc' CFLAGS=' -Wall -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF' CXX='/usr/bin/c++' CXXFLAGS=' -Wall -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF' LDFLAGS='' ASFLAGS=''