From c793cd795bec6f76508d86a476b27fc21cc3482f Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Thu, 31 Dec 2015 12:11:41 +0000 Subject: [PATCH] README: fix and extend the supported compiler documentation. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 877ccc88..c4663dab 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ In order to build eSpeak NG, you need: 1. a functional autotools system (`make`, `autoconf`, `automake`, `libtool` and `pkg-config`); -2. a functional c compiler that supports C11. +2. a functional c compiler that supports C99 (e.g. gcc or clang). Optionally, you need: @@ -54,7 +54,7 @@ Core dependencies: | Dependency | Install | |---------------|------------------------------------------------------------------| | autotools | `sudo apt-get install make autoconf automake libtool pkg-config` | -| c11 compiler | `sudo apt-get install gcc` | +| c99 compiler | `sudo apt-get install gcc` | Optional dependencies: @@ -94,6 +94,11 @@ you can run: ./configure --help +To use a different compiler, or compiler flags, you can specify these before +the `configure` command. For example: + + CC=clang-3.5 CFLAGS=-Wextra ./configure --prefix=/usr + The `espeak-ng` and `speak-ng` programs, along with the espeak-ng voices, can then be built with: