[espeak-ng:master] new issue: Cross compiling not work #github


espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Issue Created by leobbb:
#856 Cross compiling not work

Hi, I want to build espeak-ng dynamic library for RK platform, but it seems not work. build: x86_64-linux-gnu, host: aarch64-linux-gnu

I use command
CC=gcc ./configure --host=aarch64-linux-gnu make -B src/espeak-ng src/speak-ng

Build system had done and no error was reported. But, i found the type of espeak-ng library not changed. readelf -h src/.libs/libespeak-ng.so.1.1.51 ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: DYN (Shared object file) Machine: Advanced Micro Devices X86-64

Please tell me how to make it work? Thank you for your help.