Miyoo

build flite


編譯步驟如下:

$ cd
$ wget https://github.com/steward-fu/miyoo/releases/download/v1.0/toolchain.7z
$ 7za x toolchain.7z
$ sudo cp -a miyoo /opt/
$ export PATH=$PATH:/opt/miyoo/bin
$ export TARGETMACH=arm-linux
$ export BUILDMACH=i686-pc-linux-gnu
$ export CROSS=arm-linux
$ export CC=${CROSS}-gcc
$ export LD=${CROSS}-ld
$ export AS=${CROSS}-as
$ export CXX=${CROSS}-g++

$ wget https://github.com/steward-fu/miyoo/releases/download/v1.2/flite.7z
$ 7za x flite.7z
$ cd flite
$ ./configure --host=$TARGETMACH
$ vim src/utils/cst_val.c +478
  int utf8_sequence_length(char c0)

$ vim ./src/utils/cst_tokenstream.c +269
  int ts_utf8_sequence_length(char c0)

$ make clean
$ make


返回上一頁