Using '--host=' alone should be sufficient to cross compile FreeType,
CC_BUILD is likely what's causing `apinames` to be built for mips.

On 19 February 2013 16:30, Dimitris Zenios <[email protected]>wrote:

>
> Hello everyone
>
>  i am trying to compile freetype2 for mips on x86_64 pc.The command used
> is
>
> CC_BUILD=mipsel-unknown-linux-gnu-gcc ./configure
> --build=x86_64-pc-linux-gnu --host=mipsel-unknown-linux-gnu
> --prefix=/home/zenios/src/mipsel-unknown-linux-gnu/mipsel-unknown-linux-gnu/sys-root/usr
> --disable-static
>
> Event though configure executes correctly I get error on make
>
> apinames: cannot execute binary file
>
> It looks like apinames is compiled also for mips and it cannot be executed.
>
> Any hint?
>
> Best Regards
> Dimitris Zenios
>
>
> _______________________________________________
> Freetype-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/freetype-devel
>
>
_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to