[FriBidi] Fribidi not compiling generators with native compiler

Behdad Esfahbod behdad at behdad.org
Mon Oct 27 17:41:14 PDT 2014


Hi Jan,

You are right.  Feel free to file a bug so we don't forget to fix this.

behdad

On 14-10-26 03:57 PM, Jan Ekstrom wrote:
> 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
> _______________________________________________
> fribidi mailing list
> fribidi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fribidi
> 

-- 
behdad
http://behdad.org/


More information about the fribidi mailing list