README: Add a cross compilation section.

This commit is contained in:
Reece H. Dunn
2017-01-15 09:26:12 +00:00
parent 7cb79ea358
commit 39bbd48144
+10
View File
@@ -8,6 +8,7 @@
- [Linux, Mac, BSD](#linux-mac-bsd)
- [Dependencies](#dependencies)
- [Building](#building-1)
- [Cross Compilation](#cross-compilation)
- [Audio Output Configuration](#audio-output-configuration)
- [eSpeak NG Feature Configuration](#espeak-ng-feature-configuration)
- [Extended Dictionary Configuration](#extended-dictionary-configuration)
@@ -140,6 +141,15 @@ where `LANG` is the language code of the given language. More information can
be found in the [Adding or Improving a Language](docs/add_language.md)
documentation.
#### Cross Compilation
Because the eSpeak NG build process uses the built program to compile the
language and voice data, you need to build it locally first. Once you have
built it locally you can perform the cross compilation using:
./configure --build=... --host=... --target=...
make -B src/espeak-ng src/speak-ng
#### Audio Output Configuration
The following `configure` options control which audio interfaces to use: