[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Freetype 2.4.11 Cross Compiling
From: |
suzuki toshiya |
Subject: |
Re: [ft] Freetype 2.4.11 Cross Compiling |
Date: |
Wed, 20 Feb 2013 10:36:02 +0900 |
User-agent: |
Mozilla-Thunderbird 2.0.0.12 (X11/20080406) |
Dimitris sent me config.log & config.status (could I post them to
this list?). In config.log, something works differently from expected
behaviour.
Current configure.raw tries to find native compiler as follows:
---
# checks for native programs to generate building tool
if test ${cross_compiling} = yes; then
AC_CHECK_PROG(CC_BUILD, ${build}-gcc, ${build}-gcc)
test -z "${CC_BUILD}" && AC_CHECK_PROG(CC_BUILD, gcc, gcc)
test -z "${CC_BUILD}" && AC_CHECK_PROG(CC_BUILD, cc, cc, , , /usr/ucb/cc)
test -z "${CC_BUILD}" && AC_MSG_ERROR([cannot find native C compiler])
---
But the config.log by Dimitris records as follows:
---
configure:3485: checking for x86_64-pc-linux-gnu-gcc
configure:3512: result: mipsel-unknown-linux-gnu-gcc
configure:3522: checking for x86_64-pc-linux-gnu-gcc
configure:3549: result: mipsel-unknown-linux-gnu-gcc
configure:3559: checking for x86_64-pc-linux-gnu-gcc
configure:3603: result: mipsel-unknown-linux-gnu-gcc
---
Umm, it's not what I expected by "AC_CHECK_PROG(CC_BUILD, ${build}-gcc,
${build}-gcc)".
I will check it in more detail.
Regards,
mpsuzuki
suzuki toshiya wrote:
> Hi,
>
> Thank you for the report. Could you post config.log & config.status?
> I should check why the compiler for apinames (basically, the compiler
> for libfreetype and apinames are distinguished in configure) is
> set for MIPS platform.
>
> Regards,
> mpsuzuki
>
> Dimitris Zenios 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 mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/freetype
>
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype