diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-11-02 23:11:29 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-11-21 13:51:37 +0300 |
commit | b1471ebbe9db90c472ff356bea6a7c8aedb45db9 (patch) | |
tree | a3494b3c2ca9a3529588c4da6e52d9040722a404 /README-DEV | |
parent | 4bce3c574df293415c7b2f45b9c2951262fe3412 (diff) |
Add implementation
Diffstat (limited to 'README-DEV')
-rw-r--r-- | README-DEV | 650 |
1 files changed, 650 insertions, 0 deletions
diff --git a/README-DEV b/README-DEV new file mode 100644 index 0000000..e7fd5ce --- /dev/null +++ b/README-DEV @@ -0,0 +1,650 @@ +mv COPYING GPLv2 +mv README COPYING # Truncate to contain only the licensing information. + +copy client/get_password.c to mysql/extra/yassl/src +copy libbinlogevents/export/binary_log_types.h to mysql/ +copy include/mysql_version.h.in to mysql/version.h.in + + + +copy cmake-generated (from libmysql/libmysql.ver.in) libmysql.ver to +mysql/libmysql/ + + + +copy make-generated (using built comp_err utility from errmsg-utf8.txt) +mysqld_error.h. Note that it is not packaged, so we need to build the upstream +package, rather than just configure. The comp_err utility will also produce +some other headers (which we don't use) and localized errmsg.sys files that +are not installed by connector, and so by us (check if debian install them +with libs/devel packages). + +@@ What if the client app wants to print an error message? Will it get an +english-spelled error message at least? Seems so, see libmysql/errmsg.c for +details. + +Rename .cc files to .cpp: +for f in `find . -name '*.cc'`; do mv "$f" "${f%.cc}.cpp"; done + +Make sure there is no unwanted system headers are included into the source +code. + +$ cat `find . -name '*.d'` | sort -u >headers +$ emacs headers # Edit, leaving system headers only. +$ fgrep -e 'mysql' -e 'mariadb' -e 'openssl' -e 'zlib' headers + +The auto-generated config.h (with a tons of macro definitions) is an internal +file, so we can brush it a bit, removing defines that are not used in the +package files. The bad new is that there is a my_config.h file that is +equivalent to the config.h file, but is installed. Theoretically, for every +macro defined in my_config.h there can be a client, that uses it. However the +content of this file is not a part of the library API and we still may brush it +until the client that includes just mysql.h can be compiled. So we will do the +following: + +- brush my_config.h, defining/undefining only those macros that are used in the + library source code or the installed header files. Note that the upstream + package installs more headers that are used by the library itself. + +$ for m in `cat mysql/config.h.cmake.orig | sed -n 's/.*#\s*\(define\|cmakedefine\)\s\{1,\}\([_A-Z0-9]\{1,\}\)\(\s.*\)\{0,1\}$/\2/p' | sort -u`; do + if grep -q -e "\b$m\b" `find . -name '*.h' -a ! -name 'my_config.h' -a ! -name 'config.h' -o -name '*.c'`; then + echo "$m" + fi + done >used-macros1 + +$ cat mysql/my_config.h | + sed -n 's/#\s*\(define\|undef\)\s\{1,\}\([_A-Z0-9]\{1,\}\)\(\s.*\)\{0,1\}$/\2/p' | + sort -u >defined-macros + +$ diff defined-macros used-macros + + +- make config.h to just include my_config.h. + + + + +$ for m in `cat mysql/config.h.cmake.orig | sed -n 's/.*#\s*\(define\|cmakedefine\)\s\{1,\}\([_a-zA-Z0-9]\{1,\}\)\(\s.*\)\{0,1\}$/\2/p' | sort -u`; do + if grep -q -e "\b$m\b" `find . -name '*.h' -a ! -name 'my_config.h' -a ! -name 'config.h' -o -name '*.c'`; then + echo "$m" + fi + done >used-macros + +$ cat mysql/my_config.h | + sed -n 's/#\s*\(define\|undef\)\s\{1,\}\([_a-zA-Z0-9]\{1,\}\)\(\s.*\)\{0,1\}$/\2/p' | + sort -u >defined-macros + + +================= + +MSVC: + +strings +zlib +taocrypt +yassl +auth_win_client *** windows-specific +vio +INFO_BIN *** +INFO_SRC *** +regex +mysys +conf_to_src *** +dbug +mysys_ssl +comp_err +my_print_defaults +resolveip +GenError +clientlib +perror +libmysql +mysqlclient +mysql_client_test +libmysql_api_test + +ALL_BUILD +INSTALL +PACKAGE + +=================== + +GCC: + +zlib +yassl +taocrypt +strings +mysys +dbug +vio +regex [-] (is compiled by connector but is not linked anywhere) +mysys_ssl +comp_err [-] +GenError [-] (generate files with comp_err) +clientlib + +mysqlclient +libmysql +libmysql_api_test +my_print_defaults +perror +resolveip +mysql_client_test + +------ + +-- CMAKE_BUILD_TYPE: RelWithDebInfo +-- COMPILE_DEFINITIONS: _GNU_SOURCE;_FILE_OFFSET_BITS=64;HAVE_CONFIG_H +-- CMAKE_C_FLAGS: -Wall -Wextra -Wformat-security -Wvla -Wno-unused-parameter -Wwrite-strings -Wdeclaration-after-statement +-- CMAKE_CXX_FLAGS: -Wall -Wextra -Wformat-security -Wvla -Wno-unused-parameter -Woverloaded-virtual +-- CMAKE_C_FLAGS_RELWITHDEBINFO: -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF +-- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -std=gnu++03 + +........... + +-- COMPILE_DEFINITIONS: _WIN32_WINNT=0x0601;WIN32_LEAN_AND_MEAN;NOGDI;NOMINMAX;HAVE_CONFIG_H +-- CMAKE_C_FLAGS: /DWIN32 /D_WINDOWS /W3 /MP /wd4800 /wd4805 /wd4996 +-- CMAKE_CXX_FLAGS: /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MP /wd4800 /wd4805 /wd4996 /we4099 +-- CMAKE_C_FLAGS_DEBUG: /MTd /Zi /Ob1 /Od /RTC1 /EHsc -DENABLED_DEBUG_SYNC -DSAFE_MUTEX +-- CMAKE_CXX_FLAGS_DEBUG: /MTd /Zi /Ob1 /Od /RTC1 /EHsc -DENABLED_DEBUG_SYNC -DSAFE_MUTEX +-- CMAKE_C_FLAGS_RELWITHDEBINFO: /MT /Zi /O2 /Ob1 /DNDEBUG /EHsc -DDBUG_OFF +-- CMAKE_CXX_FLAGS_RELWITHDEBINFO: /MT /Zi /O2 /Ob1 /DNDEBUG /EHsc -DDBUG_OFF + +----------------- + +zlib: -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/zlib +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-DDBUG_OFF -fPIC + +C_FLAGS = -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing + -DDBUG_OFF -fPIC + +C_DEFINES = -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE + +C_INCLUDES = +-Ipackaging.orig/mysql/mysql-connector-c-6.1.11-src/build/include +-Ipackaging.orig/mysql/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-Ipackaging.orig/mysql/mysql-connector-c-6.1.11-src/include +-Ipackaging.orig/mysql/mysql-connector-c-6.1.11-src/zlib + + +................ + + +CL.exe /c /I"out\include" /I"extra\rapidjson\include" /I"include" /I"zlib" +/Zi /nologo /W3 /WX- /MP /O2 /Ob1 /Oy- /D WIN32 /D _WINDOWS /D NDEBUG +/D DBUG_OFF /D _WIN32_WINNT=0x0601 /D WIN32_LEAN_AND_MEAN /D NOGDI /D NOMINMAX +/D HAVE_CONFIG_H /D "CMAKE_INTDIR=\"RelWithDebInfo\"" /D _MBCS /Gm- /EHsc /MT +/GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline +/Fo"zlib.dir\RelWithDebInfo\\" /Fd"zlib.dir\RelWithDebInfo\zlib.pdb" +/Gd /TC /wd4800 /wd4805 /wd4996 /analyze- /errorReport:prompt + + + +----------------- + +yassl: -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-Dget_tty_password=yassl_mysql_get_tty_password +-Dget_tty_password_ext=yassl_mysql_get_tty_password_ext +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-std=gnu++03 -DDBUG_OFF +-DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-fPIC + +C_FLAGS = -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-DDBUG_OFF -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -fPIC + +C_DEFINES = -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-Dget_tty_password=yassl_mysql_get_tty_password +-Dget_tty_password_ext=yassl_mysql_get_tty_password_ext + +C_INCLUDES = +-Ibuild/include +-Iextra/rapidjson/include +-Iinclude +-Iextra/yassl/include +-Iextra/yassl/taocrypt/include +-Iextra/yassl/taocrypt/mySTL + +CXX_FLAGS = -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-DDBUG_OFF -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -fPIC + +CXX_DEFINES = -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-Dget_tty_password=yassl_mysql_get_tty_password +-Dget_tty_password_ext=yassl_mysql_get_tty_password_ext + +CXX_INCLUDES = +-Ibuild/include +-Iextra/rapidjson/include +-Iinclude +-Iextra/yassl/include +-Iextra/yassl/taocrypt/include +-Iextra/yassl/taocrypt/mySTL + +/usr/bin/c++ -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-Dget_tty_password=yassl_mysql_get_tty_password +-Dget_tty_password_ext=yassl_mysql_get_tty_password_ext +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-std=gnu++03 -DDBUG_OFF -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL +-DMULTI_THREADED -fPIC -o CMakeFiles/yassl.dir/src/timer.cpp.o +-c /home/karen/mysql-connector-c-6.1.11-src/extra/yassl/src/timer.cpp + + +/usr/bin/cc -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-Dget_tty_password=yassl_mysql_get_tty_password +-Dget_tty_password_ext=yassl_mysql_get_tty_password_ext +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-DDBUG_OFF -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -fPIC +-o CMakeFiles/yassl.dir/__/__/client/get_password.c.o +-c /home/karen/mysql-connector-c-6.1.11-src/client/get_password.c + +------------- + +taocrypt: + +/usr/bin/c++ -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-std=gnu++03 -DDBUG_OFF -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL +-DMULTI_THREADED -fPIC + +------- + +strings: + +/usr/bin/cc -DDISABLE_MYSQL_THREAD_H +-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-Wall -Wextra -Wformat-security -Wvla -Wwrite-strings +-Wdeclaration-after-statement -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF +-fPIC +-Wno-unused-variable -o CMakeFiles/strings.dir/my_stpmov.c.o +-c /home/karen/mysql-connector-c-6.1.11-src/strings/my_stpmov.c + +------- + +mysys: + +/usr/bin/cc -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/zlib +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/mysys +-Wall -Wextra -Wformat-security -Wvla -Wwrite-strings +-Wdeclaration-after-statement -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-DDBUG_OFF -fPIC -Wno-unused-function -Wno-unused-variable +-o CMakeFiles/mysys.dir/mf_getdate.c.o +-c /home/karen/mysql-connector-c-6.1.11-src/mysys/mf_getdate.c + +------------ + +dbug: + +/usr/bin/cc +-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/dbug +-I/home/karen/mysql-connector-c-6.1.11-src/include +-Wall -Wextra -Wformat-security -Wvla -Wwrite-strings +-Wdeclaration-after-statement -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-DDBUG_OFF -fPIC +-o CMakeFiles/dbug.dir/dbug.c.o +-c /home/karen/mysql-connector-c-6.1.11-src/dbug/dbug.c + +------------ + +vio: + +/usr/bin/cc -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-Wall -Wextra -Wformat-security -Wvla -Wwrite-strings +-Wdeclaration-after-statement -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF +-DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-fPIC -Wno-unused-but-set-variable -o CMakeFiles/vio.dir/viossl.c.o +-c /home/karen/mysql-connector-c-6.1.11-src/vio/viossl.c + +------------ + +/usr/bin/cc -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-Wall -Wextra -Wformat-security -Wvla -Wwrite-strings +-Wdeclaration-after-statement -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF +-fPIC -o CMakeFiles/regex.dir/regexec.c.o +-c /home/karen/mysql-connector-c-6.1.11-src/regex/regexec.c + +-------- + +/usr/bin/c++ -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/mysys_ssl +-I/home/karen/mysql-connector-c-6.1.11-src/mysys +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual +-Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-std=gnu++03 -DDBUG_OFF +-DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-fPIC -o CMakeFiles/mysys_ssl.dir/my_sha2.cc.o +-c /home/karen/mysql-connector-c-6.1.11-src/mysys_ssl/my_sha2.cc + +---------- + +/usr/bin/cc -DHAVE_CONFIG_H -DMUTEX_EVENT -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/zlib +-Wall -Wextra -Wformat-security -Wvla -Wwrite-strings +-Wdeclaration-after-statement -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF +-o CMakeFiles/comp_err.dir/comp_err.c.o +-c /home/karen/mysql-connector-c-6.1.11-src/extra/comp_err.c + +comp_err --charset=/home/karen/mysql-connector-c-6.1.11-src/sql/share/charsets +--out-dir=/home/karen/mysql-connector-c-6.1.11-src/build/sql/share/ +--header_file=/home/karen/mysql-connector-c-6.1.11-src/build/include/mysqld_error.h +--name_file=/home/karen/mysql-connector-c-6.1.11-src/build/include/mysqld_ername.h +--state_file=/home/karen/mysql-connector-c-6.1.11-src/build/include/sql_state.h +--in_file=/home/karen/mysql-connector-c-6.1.11-src/sql/share/errmsg-utf8.txt + +---------- + +/usr/bin/cc -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/libmysql +-I/home/karen/mysql-connector-c-6.1.11-src/regex +-I/home/karen/mysql-connector-c-6.1.11-src/sql +-I/home/karen/mysql-connector-c-6.1.11-src/strings +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-I/home/karen/mysql-connector-c-6.1.11-src/zlib +-Wall -Wextra -Wformat-security -Wvla -Wwrite-strings +-Wdeclaration-after-statement -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF +-DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-D CLIENT_PROTOCOL_TRACING -fPIC -Wno-unused-variable +-o CMakeFiles/clientlib.dir/libmysql.c.o +-c /home/karen/mysql-connector-c-6.1.11-src/libmysql/libmysql.c + + + +cd /home/karen/mysql-connector-c-6.1.11-src/build/libmysql && +/usr/bin/cc -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/libmysql +-I/home/karen/mysql-connector-c-6.1.11-src/regex +-I/home/karen/mysql-connector-c-6.1.11-src/sql +-I/home/karen/mysql-connector-c-6.1.11-src/strings +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-I/home/karen/mysql-connector-c-6.1.11-src/zlib +-Wall -Wextra -Wformat-security -Wvla -Wwrite-strings +-Wdeclaration-after-statement -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF +-DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-D CLIENT_PROTOCOL_TRACING -fPIC -Wno-unused-variable +-o CMakeFiles/clientlib.dir/get_password.c.o +-c /home/karen/mysql-connector-c-6.1.11-src/libmysql/get_password.c + +cd /home/karen/mysql-connector-c-6.1.11-src/build/libmysql && /usr/bin/cc +-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/libmysql +-I/home/karen/mysql-connector-c-6.1.11-src/regex +-I/home/karen/mysql-connector-c-6.1.11-src/sql +-I/home/karen/mysql-connector-c-6.1.11-src/strings +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-I/home/karen/mysql-connector-c-6.1.11-src/zlib +-Wall -Wextra -Wformat-security -Wvla -Wwrite-strings +-Wdeclaration-after-statement -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF +-DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-D CLIENT_PROTOCOL_TRACING -fPIC -Wno-unused-variable +-o CMakeFiles/clientlib.dir/__/sql-common/client.c.o + -c /home/karen/mysql-connector-c-6.1.11-src/sql-common/client.c + + +cd /home/karen/mysql-connector-c-6.1.11-src/build/libmysql && /usr/bin/c++ +-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/libmysql +-I/home/karen/mysql-connector-c-6.1.11-src/regex +-I/home/karen/mysql-connector-c-6.1.11-src/sql +-I/home/karen/mysql-connector-c-6.1.11-src/strings +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-I/home/karen/mysql-connector-c-6.1.11-src/zlib +-Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual +-Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer +-fno-strict-aliasing -std=gnu++03 -DDBUG_OFF +-DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-D CLIENT_PROTOCOL_TRACING -fPIC -Wno-unused-variable +-o CMakeFiles/clientlib.dir/__/sql/net_serv.cc.o +-c /home/karen/mysql-connector-c-6.1.11-src/sql/net_serv.cc + +cd /home/karen/mysql-connector-c-6.1.11-src/build/libmysql && /usr/bin/c++ +-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/libmysql +-I/home/karen/mysql-connector-c-6.1.11-src/regex +-I/home/karen/mysql-connector-c-6.1.11-src/sql +-I/home/karen/mysql-connector-c-6.1.11-src/strings +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-I/home/karen/mysql-connector-c-6.1.11-src/zlib +-Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-std=gnu++03 -DDBUG_OFF +-DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-D CLIENT_PROTOCOL_TRACING -fPIC -Wno-unused-variable +-o CMakeFiles/clientlib.dir/__/sql/net_serv.cc.o +-c /home/karen/mysql-connector-c-6.1.11-src/sql/net_serv.cc + +cd /home/karen/mysql-connector-c-6.1.11-src/build/libmysql && /usr/bin/cc +-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/libmysql +-I/home/karen/mysql-connector-c-6.1.11-src/regex +-I/home/karen/mysql-connector-c-6.1.11-src/sql +-I/home/karen/mysql-connector-c-6.1.11-src/strings +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-I/home/karen/mysql-connector-c-6.1.11-src/zlib +-Wall -Wextra -Wformat-security -Wvla -Wwrite-strings +-Wdeclaration-after-statement -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF +-DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-D CLIENT_PROTOCOL_TRACING -fPIC -Wno-unused-variable +-o CMakeFiles/clientlib.dir/__/sql/auth/password.c.o +-c /home/karen/mysql-connector-c-6.1.11-src/sql/auth/password.c + +cd /home/karen/mysql-connector-c-6.1.11-src/build/libmysql && /usr/bin/c++ +-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Dlibmysql_EXPORTS +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/libmysql +-I/home/karen/mysql-connector-c-6.1.11-src/regex +-I/home/karen/mysql-connector-c-6.1.11-src/sql +-I/home/karen/mysql-connector-c-6.1.11-src/strings +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-I/home/karen/mysql-connector-c-6.1.11-src/zlib +-Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual +-Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer +-fno-strict-aliasing -std=gnu++03 -DDBUG_OFF -fPIC +-DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-D CLIENT_PROTOCOL_TRACING +-o CMakeFiles/libmysql.dir/libmysql_exports_file.cc.o +-c /home/karen/mysql-connector-c-6.1.11-src/build/libmysql/libmysql_exports_file.cc + + +------------- + +/usr/bin/c++ -fPIC -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual +-Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer +-fno-strict-aliasing -std=gnu++03 -DDBUG_OFF -fPIC -Wl,--no-undefined +-Wl,--version-script=/home/karen/mysql-connector-c-6.1.11-src/build/libmysql/libmysql.ver +-shared -Wl,-soname,libmysqlclient.so.18 -o libmysqlclient.so.18.4. +CMakeFiles/libmysql.dir/libmysql_exports_file.cc.o -lpthread +libclientlib.a ../dbug/libdbug.a ../strings/libstrings.a ../vio/libvio.a +../mysys/libmysys.a ../mysys_ssl/libmysys_ssl.a ../zlib/libzlib.a +../extra/yassl/libyassl.a ../extra/yassl/taocrypt/libtaocrypt.a -ldl +../dbug/libdbug.a ../mysys/libmysys.a ../dbug/libdbug.a ../mysys/libmysys.a -lm +-lrt ../strings/libstrings.a ../zlib/libzlib.a -lpthread + +------------ + + +cd /home/karen/mysql-connector-c-6.1.11-src/build/libmysql && +/usr/bin/cc -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE +-I/home/karen/mysql-connector-c-6.1.11-src/build/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/rapidjson/include +-I/home/karen/mysql-connector-c-6.1.11-src/include +-I/home/karen/mysql-connector-c-6.1.11-src/libmysql +-I/home/karen/mysql-connector-c-6.1.11-src/regex +-I/home/karen/mysql-connector-c-6.1.11-src/sql +-I/home/karen/mysql-connector-c-6.1.11-src/strings +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/include +-I/home/karen/mysql-connector-c-6.1.11-src/extra/yassl/taocrypt/mySTL +-I/home/karen/mysql-connector-c-6.1.11-src/zlib +-Wall -Wextra -Wformat-security -Wvla -Wwrite-strings +-Wdeclaration-after-statement -Wno-unused-parameter +-O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing +-DDBUG_OFF -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-D CLIENT_PROTOCOL_TRACING -o CMakeFiles/libmysql_api_test.dir/api_test.c.o +-c /home/karen/mysql-connector-c-6.1.11-src/build/libmysql/api_test.c + + + + +------------ + +/usr/bin/c++ -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual +-Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer +-fno-strict-aliasing -std=gnu++03 -DDBUG_OFF +CMakeFiles/comp_err.dir/comp_err.c.o -o comp_err -lpthread +../mysys/libmysys.a ../mysys_ssl/libmysys_ssl.a ../mysys/libmysys.a +../dbug/libdbug.a ../mysys/libmysys.a ../dbug/libdbug.a -lm -lrt +../strings/libstrings.a ../zlib/libzlib.a yassl/libyassl.a +yassl/taocrypt/libtaocrypt.a -lpthread + + +/usr/bin/c++ -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual +-Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer +-fno-strict-aliasing -std=gnu++03 -DDBUG_OFF +CMakeFiles/libmysql_api_test.dir/api_test.c.o -o libmysql_api_test +-Wl,-rpath,/home/karen/mysql-connector-c-6.1.11-src/build/libmysql -lpthread +-lrt libmysqlclient.so.18.4. + +-------------------- + + +/usr/bin/CC -DHAVE_CONFIG_H -DHAVE_LIBEVENT1 +-I/home/karen/projects/mysql-5.7.20/build/include +-I/home/karen/projects/mysql-5.7.20/extra/rapidjson/include +-I/home/karen/projects/mysql-5.7.20/build/libbinlogevents/include +-I/home/karen/projects/mysql-5.7.20/libbinlogevents/export +-I/home/karen/projects/mysql-5.7.20/include +-I/home/karen/projects/mysql-5.7.20/mysys_ssl +-I/home/karen/projects/mysql-5.7.20/mysys +-I/home/karen/projects/mysql-5.7.20/extra/yassl/include +-I/home/karen/projects/mysql-5.7.20/extra/yassl/taocrypt/include +-Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual +-Wno-unused-parameter -Wno-null-conversion -Wno-unused-private-field +-O3 -g -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF +-DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED +-fPIC -o CMakeFiles/mysys_ssl.dir/crypt_genhash_impl.cc.o +-c /home/karen/projects/mysql-5.7.20/mysys_ssl/crypt_genhash_impl.cc + +clang++ -DHAVE_CONFIG_H -DHAVE_LIBEVENT1 -I/home/karen/projects/mysql-5.7.20/build/include -I/home/karen/projects/mysql-5.7.20/extra/rapidjson/include -I/home/karen/projects/mysql-5.7.20/build/libbinlogevents/include -I/home/karen/projects/mysql-5.7.20/libbinlogevents/export -I/home/karen/projects/mysql-5.7.20/include -I/home/karen/projects/mysql-5.7.20/mysys_ssl -I/home/karen/projects/mysql-5.7.20/mysys -I/home/karen/projects/mysql-5.7.20/extra/yassl/include -I/home/karen/projects/mysql-5.7.20/extra/yassl/taocrypt/include -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -Wno-null-conversion -Wno-unused-private-field -O3 -g -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -fPIC -o libmysqlclient/mysql/mysys_ssl/crypt_genhash_impl.a.o -c /usr/home/karen/projects/libmysqlclient/mysql/mysys_ssl/crypt_genhash_impl.cpp +clang++ -I/usr/home/karen/projects/libmysqlclient -I/usr/home/karen/projects/libmysqlclient -I/usr/home/karen/projects/libmysqlclient/mysql -DHAVE_CONFIG_H -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/home/karen/projects/libmysqlclient/mysql/mysys_ssl -I/usr/home/karen/projects/libmysqlclient/mysql/extra/yassl/include -I/usr/home/karen/projects/libmysqlclient/mysql/extra/yassl/taocrypt/include -I/usr/home/karen/projects/libmysqlclient/mysql/extra/yassl/taocrypt/mySTL -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -I/usr/home/karen/projects/libmysqlclient/mysql/mysys -I /usr/local/include -fno-omit-frame-pointer -fno-strict-aliasing -Wno-unused-parameter -Wno-unused-variable -Wno-unused-const-variable -std=c++03 -o libmysqlclient/mysql/mysys_ssl/crypt_genhash_impl.a.o -c -x c++ /usr/home/karen/projects/libmysqlclient/mysql/mysys_ssl/crypt_genhash_impl.cpp + +clang++ -DHAVE_CONFIG_H -DHAVE_LIBEVENT1 -I/usr/home/karen/projects/libmysqlclient -I/usr/home/karen/projects/libmysqlclient -I/usr/home/karen/projects/libmysqlclient/mysql -DDBUG_OFF -I/usr/home/karen/projects/libmysqlclient/mysql/mysys_ssl -I/usr/home/karen/projects/libmysqlclient/mysql/extra/yassl/include -I/usr/home/karen/projects/libmysqlclient/mysql/extra/yassl/taocrypt/include -I/usr/home/karen/projects/libmysqlclient/mysql/extra/yassl/taocrypt/mySTL -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -I/usr/home/karen/projects/libmysqlclient/mysql/mysys -I /usr/local/include -fno-omit-frame-pointer -fno-strict-aliasing -Wno-unused-parameter -Wno-unused-variable -Wno-unused-const-variable -o libmysqlclient/mysql/mysys_ssl/crypt_genhash_impl.a.o -c -x c++ /usr/home/karen/projects/libmysqlclient/mysql/mysys_ssl/crypt_genhash_impl.cpp + + +clang++ -DHAVE_CONFIG_H -DHAVE_LIBEVENT1 -I/usr/home/karen/projects/libmysqlclient -I/usr/home/karen/projects/libmysqlclient -I/usr/home/karen/projects/libmysqlclient/mysql -I/usr/home/karen/projects/libmysqlclient/mysql/mysys_ssl -I/usr/home/karen/projects/libmysqlclient/mysql/extra/yassl/include -I/usr/home/karen/projects/libmysqlclient/mysql/extra/yassl/taocrypt/include -I/usr/home/karen/projects/libmysqlclient/mysql/extra/yassl/taocrypt/mySTL -I/usr/home/karen/projects/libmysqlclient/mysql/mysys -I /usr/local/include -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -Wno-null-conversion -Wno-unused-private-field -O3 -g -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -fPIC -o libmysqlclient/mysql/mysys_ssl/crypt_genhash_impl.a.o -c /usr/home/karen/projects/libmysqlclient/mysql/mysys_ssl/crypt_genhash_impl.cpp + +================================================================= + + /machine:X86 C:/projects/mysql-connector-c-6.1.11-src/out/libmysql/Debug/clientlib.lib + C:/projects/mysql-connector-c-6.1.11-src/out/dbug/Debug/dbug.lib + C:/projects/mysql-connector-c-6.1.11-src/out/strings/Debug/strings.lib + C:/projects/mysql-connector-c-6.1.11-src/out/vio/Debug/vio.lib C:/projects/mysql-connector-c-6.1.11-src/out/mysys/Debug/mysys.lib C:/projects/mysql-connector-c-6.1.11-src/out/mysys_ssl/Debug/mysys_ssl.lib C:/projects/mysql-connector-c-6.1.11-src/out/zlib/Debug/zlib.lib C:/projects/mysql-connector-c-6.1.11-src/out/extra/yassl/Debug/yassl.lib C:/projects/mysql-connector-c-6.1.11-src/out/extra/yassl/taocrypt/Debug/taocrypt.lib C:/projects/mysql-connector-c-6.1.11-src/out/libmysql/authentication_win/Debug/auth_win_client.lib + + + +================================================================== + +cmake -DCMAKE_INSTALL_PREFIX=c:/install/mysql -DDOWNLOAD_BOOST=1 \ + -DWITH_BOOST=../boost -DWITHOUT_SERVER=ON .. + +devenv MySQL.sln /build + +=========================================================== |