glib-1.2.10을 컴피그리를 했습니다. 아래와 같이.
CC=arm-linux-gcc AR=arm-linux-ar RANLIB=arm-linux-ranlib ./configure --
prefix=/tmp/glib --host=arm-linux

컴피그리 도중 다음과 같은 에러 입니다.
어떻게 해야 하나요??

loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles...
no
checking host system type... arm-unknown-linux-gnu
checking whether to enable memory checking... no
checking whether to enable memory profiling... no
checking for gcc... (cached) arm-linux-gcc
checking whether the C compiler (arm-linux-gcc -g -O2 ) works... yes
checking whether the C compiler (arm-linux-gcc -g -O2 ) is a cross-
compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether arm-linux-gcc accepts -g... (cached) yes
checking for arm-linux-gcc option to accept ANSI C... none needed
checking for a BSD compatible install... /usr/bin/install -c
checking for extra flags to get ANSI library prototypes... configure:
error: can not run test program while cross compiling