Hi,

i am trying to cross compile glib-2.17.3 for arm from linux-2.6 . i have the
arm tool chain but while ./configure --enable-static  --host=i686-linux
--target=arm-linux i get the following error

checking for preceeding underscore in symbols... configure: error: cannot
run test program while cross compiling

below are the contents of my config.log file
configure:37988: arm-linux-gnu-gcc -o conftest -g -O2 -Wall
-DG_DISABLE_SINGLE_INCLUDES  conftest.c -ldl    >&5
configure:37995: $? = 0
configure:38016: result: yes
configure:38106: checking for RTLD_GLOBAL brokenness
configure:38179: result: no
configure:38186: checking for preceeding underscore in symbols
configure:38194: error: cannot run test program while cross compiling
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-linux-gnu-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=


could anyone help me out with this problem
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to