diff --git a/README.md b/README.md index ca1744d9..4c0f2e68 100644 --- a/README.md +++ b/README.md @@ -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: