Cross compile glib for nios2-linux



Hi,

I want to cross-compile glib for nios2-linux. During the configure part there is error:

checking for vprintf... yes
checking for _doprnt... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for working alloca.h... yes
checking for alloca... yes
checking for posix_memalign... yes
checking for memalign... yes
checking for valloc... yes
checking for atexit... yes
checking for on_exit... yes
checking for timegm... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for void *... yes
checking size of void *... 4
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking for format to printf and scanf a guint64... none
checking for an ANSI C-conforming const... yes
checking if malloc() and friends prototypes are gmem.h compatible... yes
checking for growing stack pointer... configure: error: cannot run test program while cross compiling
See `config.log' for more details.
nuar@nuar-desktop:~/Desktop/
glib-2.12.0$ make
make: *** No targets specified and no makefile found.  Stop.

Is there any way to avoid the test program?

Moganesh


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]