[FriBidi] Fribidi not compiling generators with native compiler

Jan Ekstrom jeebjp at gmail.com
Sun Oct 26 15:57:17 PDT 2014


Hi,

I tried lately to cross-compile fribidi from git, and I found out that
seemingly fribidi's build system doesn't try to create the binaries
generating fribidi-unicode-version.h and friends with the actual
system's compiler, but rather with the one given to it by --host when
cross-compiling, leading to the following problems (in this example
when compiling with mingw-w64, but this is definitely not limited to
it):

  CC       gen-unicode-version.o
  CCLD     gen-unicode-version.exe
 make[3]: Leaving directory '/home/builduser/builds/fribidi/gen.tab'
 ./gen-unicode-version.exe ./unidata/ReadMe.txt
./unidata/BidiMirroring.txt gen-unicode-version.c >
fribidi-unicode-version.h \
 || (rm -f fribidi-unicode-version.h && false)
 /bin/bash: ./gen-unicode-version.exe: cannot execute binary file:
Exec format error

This is not an issue with the release tarballs since all these files
seem to be pre-generated in those, but does hamper efforts to
cross-compile out of the box after cloning the git repository.


Best regards,
Jan Ekström


More information about the fribidi mailing list