[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] subscribe
From: |
suzuki toshiya |
Subject: |
Re: [ft-devel] subscribe |
Date: |
Wed, 09 May 2012 17:40:10 +0900 |
User-agent: |
Mozilla-Thunderbird 2.0.0.12 (X11/20080406) |
> This is my configure instruction:
> ./configure --host=x86_64-w64-mingw32 --with-zlib
> --prefix=/cygdrive/c/Library/base CPPFLAGS=-I../../base/include
> LDFLAGS=-L../../base/lib
Ahhh..., which is the message you wrote "it is on unix"?
If it is the message that configure immediately prints after
the execution (and before checking compilers etc):
>The following settings are used:
>
> platform unix
> compiler cc
> configuration directory ./builds/unix
> configuration rules ./builds/unix/unix.mk
Please do not care about it is unix. For first, the platform
in above message is the hosting platform, not the target platform.
And, even if the platform is set to unix like above, it does
not make the compiled binary to unix. The autoconf will tune
appropriately, even if the beginning message says as unix.
The background of the failure in apinames.exe would be that:
apinames.exe is compiled as MinGW binary and it cannot handle
the cygwin pathname (/cygdrive/c/ is cygwin convention. C:...
should be used for MinGW). What we should do? The apinames.exe
should be compiled for cygwin environment, not mingw environment.
Checking your config.log, it seems that the project is not
configured for cross-building correctly:
configure:3013: checking whether we are cross compiling
configure:3021: x86_64-w64-mingw32-gcc -o conftest.exe -I../../base/include
-L../../base/lib conftest.c >&5
configure:3025: $? = 0
configure:3032: ./conftest.exe
configure:3036: $? = 0
configure:3051: result: no
In summary, please try
./configure --host=x86_64-w64-mingw32 --build=i686-pc-cygwin --with-zlib
--prefix=/cygdrive/c/Library/base CPPFLAGS=-I../../base/include
LDFLAGS=-L../../base/lib
(the difference is "--build=xxx")
Regards,
mpsuzuki
address@hidden wrote:
> Il 09/05/2012 06:47, suzuki toshiya ha scritto:
>> Good afternoon (it's 13:45 in Japan),
>>
>> I'm afraid you've configured for self-hosting (cygwin would be recognized
>> as an unix), not configured for cross-development. Could you describe
>> how you configured, and post config.log?
>>
>> Regards,
>> mpsuzuki
>>
>> address@hidden wrote:
>>> Good evening,
>>> I've tried to compile freetype 2.4.9 using mingw-w64
>>> toolchain on cygwin environment (I have Windows 7 64-bit).. The
>>> configure step goes all OK, although it tells it is on unix.. When I
>>> call "make", the command compiles almost all the headers, but when it
>>> calls the script apinames.exe it shows "coud not open
>>> '/cygdrive/c/Library/src/freetype/include/freetype/ttnameid.h' for
>>> writing".. I think apinames.exe is broken to me, maybe because functions
>>> fopen() returns NULL at the variable out, sending stderr signal... Is
>>> there a solution or a workaround? Do I need this executable to compile
>>> the library?
>>> Thanks, goodnight
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Freetype-devel mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/freetype-devel
- [ft-devel] subscribe, address@hidden, 2012/05/09
- Re: [ft-devel] subscribe, suzuki toshiya, 2012/05/09
- Re: [ft-devel] subscribe, address@hidden, 2012/05/09
- Re: [ft-devel] subscribe,
suzuki toshiya <=
- Re: [ft-devel] subscribe, Werner LEMBERG, 2012/05/09
- Re: [ft-devel] subscribe, mpsuzuki, 2012/05/09
- Re: [ft-devel] subscribe, address@hidden, 2012/05/09
- Re: [ft-devel] subscribe, address@hidden, 2012/05/09
- Re: [ft-devel] subscribe, suzuki toshiya, 2012/05/10
- Re: [ft-devel] subscribe, Werner LEMBERG, 2012/05/10