W3C home > Mailing lists > Public > www-talk@w3.org > July to August 2004

a question about cross-compiling.

From: zeng_pengcheng <zeng_pengcheng@anyka.com>
Date: Fri, 30 Jul 2004 16:39:19 +0800
To: <www-talk@w3.org>
Message-ID: <ONEIIDCPKCONEHHGAMFFMEGECBAA.zeng_pengcheng@anyka.com>
hi,

i tried to cross-compile libwww, and the configuration was this:

           bin/sh CC=arm-elf-gcc GCC=... ... ./configure --with-zlib --host=i686 --build=i686 --target=arm

but there was and error when doing configuration, message like this:

	 ...
	 checking for BOOLEAN... no
	 checking for u_char ... yes
	 checking for u_short... yes
	 checking for u_long... yes
	 checking size of char... 1
	 checking size of char *... configure: error: can not run test program



i searched in internet and somebody has adviced to edit config.cache directly, but what about after doing that,
how to generate Makefile from config.cache? or any better advice?

thanks in advance.


yours sincerely,

                                                                zeng_pengcheng @ anyka.Corp.

Received on Friday, 30 July 2004 04:47:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:28 GMT