summaryrefslogtreecommitdiffstats
path: root/web/input/doc/faq/mixing-compilers.md
blob: 8c7bad6e2b41bcfd6f62a1f309b8e4e4b6e1c98f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
title: Mixing compilers
parent: FAQ
---

# Building check\_mysql fails on Solaris

If you are using GCC and your MySQL version was compiled using Sun's C
compiler (or the other way round), then it is likely that the configure
options will fail, as the configure script will run `mysql_config` to get the
appropriate `CFLAGS`.

There are various options:

* Disable `check_mysql` by running `./configure` `--without-mysql`.
* Allow `./configure` to finish, but manually amend `plugins/Makefile` and
  remove any non-GCC flags in `MYSQLCFLAGS`.
* Use Sun's C compiler to compile the plugins.
* Use a GCC-compiled version of MySQL.

<!--% # vim:set filetype=markdown textwidth=78 joinspaces: # %-->