summaryrefslogtreecommitdiffstats
path: root/web/input/doc/faq/mixing-compilers.md
diff options
context:
space:
mode:
Diffstat (limited to 'web/input/doc/faq/mixing-compilers.md')
-rw-r--r--web/input/doc/faq/mixing-compilers.md20
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 @@
1title: Mixing compilers
2parent: FAQ
3---
4
5# Building check\_mysql fails on Solaris
6
7If you are using GCC and your MySQL version was compiled using Sun's C
8compiler (or the other way round), then it is likely that the configure
9options will fail, as the configure script will run `mysql_config` to get the
10appropriate `CFLAGS`.
11
12There 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: # %-->