Hello, I have followed the guide found in EGLIBC.cross-building, and I obtain the following message when I configure eglibc: host=$build linux_arch=mips target=$linux_arch-none-linux-gnu gccv=gcc-4.1.1 linuxv=linux-2.6.20 (I have tried with 2.6.19.1 too) CC=$tools/bin/$target-gcc \ CXX=$tools/bin/$target-g++ \ AR=$tools/bin/$target-ar \ RANLIB=$tools/bin/$target-ranlib \ $src/$libcv/configure \ --prefix=/usr \ --with-headers=$sysroot/usr/include \ --build=$build \ --host=$target \ --disable-profile --without-gd --without-cvs --enable-add-ons One is without the --with-glibc option, and the other is with this option. |
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by glibc build-side support configure (see version.h), which was generated by GNU Autoconf 2.59. Invocation command line was $ /home/olivier/tmp/eglibc/src/elibc-2.6/libc/configure --prefix=/usr --with-headers=/home/olivier/tmp/eglibc/mips/sysroot/usr/include --build=i686-pc-linux-gnu --host=mips-none-linux-gnu --disable-profile --without-gd --without-cvs --enable-add-ons ## --------- ## ## Platform. ## ## --------- ## hostname = debian uname -m = i686 uname -r = 2.6.24-etchnhalf.1-686 uname -s = Linux uname -v = #1 SMP Fri Dec 26 04:10:16 UTC 2008 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:1318: error: missing --with-glibc option ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/olivier/tmp/eglibc/mips/tools/bin/mips-none-linux-gnu-gcc ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/home/olivier/tmp/eglibc/mips/tools/bin/mips-none-linux-gnu-g++ ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i686-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=mips-none-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=mips-none-linux-gnu ac_cv_host_alias=mips-none-linux-gnu ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='/home/olivier/tmp/eglibc/mips/tools/bin/mips-none-linux-gnu-gcc' CFLAGS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' LDFLAGS='' LIBOBJS='' LIBS='' LN_S='' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='glibc build-side support' PACKAGE_STRING='glibc build-side support (see version.h)' PACKAGE_TARNAME='glibc-build-side-support' PACKAGE_VERSION='(see version.h)' PATH_SEPARATOR=':' SHELL='/bin/sh' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='i686-pc-linux-gnu' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${prefix}/share' exec_prefix='NONE' host_alias='mips-none-linux-gnu' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='/usr' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "glibc build-side support" #define PACKAGE_STRING "glibc build-side support (see version.h)" #define PACKAGE_TARNAME "glibc-build-side-support" #define PACKAGE_VERSION "(see version.h)" configure: exit 1
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by glibc build-side support configure (see version.h), which was generated by GNU Autoconf 2.59. Invocation command line was $ /home/olivier/tmp/eglibc/src/elibc-2.6/libc/configure --prefix=/usr --with-headers=/home/olivier/tmp/eglibc/mips/sysroot/usr/include --build=i686-pc-linux-gnu --host=mips-none-linux-gnu --disable-profile --without-gd --without-cvs --enable-add-ons --with-glibc=/home/olivier/tmp/eglibc/src/elibc-2.6/libc/ ## --------- ## ## Platform. ## ## --------- ## hostname = debian uname -m = i686 uname -r = 2.6.24-etchnhalf.1-686 uname -s = Linux uname -v = #1 SMP Fri Dec 26 04:10:16 UTC 2008 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:1339: error: cannot find install-sh or install.sh in /home/olivier/tmp/eglibc/src/elibc-2.6/libc /home/olivier/tmp/eglibc/src/elibc-2.6/libc/.. /home/olivier/tmp/eglibc/src/elibc-2.6/libc/../.. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/olivier/tmp/eglibc/mips/tools/bin/mips-none-linux-gnu-gcc ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/home/olivier/tmp/eglibc/mips/tools/bin/mips-none-linux-gnu-g++ ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i686-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=mips-none-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=mips-none-linux-gnu ac_cv_host_alias=mips-none-linux-gnu ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='/home/olivier/tmp/eglibc/mips/tools/bin/mips-none-linux-gnu-gcc' CFLAGS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' LDFLAGS='' LIBOBJS='' LIBS='' LN_S='' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='glibc build-side support' PACKAGE_STRING='glibc build-side support (see version.h)' PACKAGE_TARNAME='glibc-build-side-support' PACKAGE_VERSION='(see version.h)' PATH_SEPARATOR=':' SHELL='/bin/sh' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='i686-pc-linux-gnu' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${prefix}/share' exec_prefix='NONE' host_alias='mips-none-linux-gnu' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='/usr' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "glibc build-side support" #define PACKAGE_STRING "glibc build-side support (see version.h)" #define PACKAGE_TARNAME "glibc-build-side-support" #define PACKAGE_VERSION "(see version.h)" configure: exit 1