a question about cross-compiling.

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 UTC