diff options
Diffstat (limited to 'web/input/doc/faq/mixing-compilers.md')
| -rw-r--r-- | web/input/doc/faq/mixing-compilers.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/web/input/doc/faq/mixing-compilers.md b/web/input/doc/faq/mixing-compilers.md new file mode 100644 index 0000000..8c7bad6 --- /dev/null +++ b/web/input/doc/faq/mixing-compilers.md | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | title: Mixing compilers | ||
| 2 | parent: FAQ | ||
| 3 | --- | ||
| 4 | |||
| 5 | # Building check\_mysql fails on Solaris | ||
| 6 | |||
| 7 | If you are using GCC and your MySQL version was compiled using Sun's C | ||
| 8 | compiler (or the other way round), then it is likely that the configure | ||
| 9 | options will fail, as the configure script will run `mysql_config` to get the | ||
| 10 | appropriate `CFLAGS`. | ||
| 11 | |||
| 12 | There are various options: | ||
| 13 | |||
| 14 | * Disable `check_mysql` by running `./configure` `--without-mysql`. | ||
| 15 | * Allow `./configure` to finish, but manually amend `plugins/Makefile` and | ||
| 16 | remove any non-GCC flags in `MYSQLCFLAGS`. | ||
| 17 | * Use Sun's C compiler to compile the plugins. | ||
| 18 | * Use a GCC-compiled version of MySQL. | ||
| 19 | |||
| 20 | <!--% # vim:set filetype=markdown textwidth=78 joinspaces: # %--> | ||
