This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem in running executable on target Linux 2.4


See that line
GLIBC_EXTRA_CONFIG= --with-tls --with-__thread --enable-kernel=2.4.18
in your log?  That comes from gcc-3.4.5-glibc-2.3.6-tls.dat, where it says
GLIBC_EXTRA_CONFIG="$GLIBC_EXTRA_CONFIG --with-tls --with-__thread
--enable-kernel=2.4.18"
Change the 2.4.18 there to 2.4.0 and Bob's your uncle :-)
- Dan

On 6/11/07, Mangesh Kulkarni <mangeshsk@gmail.com> wrote:


Hello,

Im using the cross-toolchain downloaded from
http://www.kegel.com/crosstool/crosstool-0.43.tar.gz

I could able to build the toolchain and could able to compile
small programs. But when I try to run it on target platform
running on Linux kernel version 2.4.0, Im unable to run the
executable. It says can not execute the binary.

This is the mips-unknown-linux-gnu crosstoolconfig log.

AR=
BINUTILS_DIR=binutils-2.15
BINUTILS_EXTRA_CONFIG=
BUILD=i686-pc-linux-gnu
BUILD_DIR=/home/rakesh/crosstool1/crosstool-0.43/build/mips-unknown-linux-gnu/gcc-3.4.5-glibc-2.3.6
CC=
DEJAGNU=
EXTRA_TARGET_CFLAGS=
GCC_BUILD=
GCC_CORE_DIR=gcc-3.4.5
GCC_DIR=gcc-3.4.5
GCC_EXTRA_CONFIG=
GCC_HOST=
GCC_LANGUAGES=c,c++
GDB_DIR=
GLIBC_ADDON_OPTIONS==linuxthreads,
GLIBC_DIR=glibc-2.3.6
GLIBC_EXTRA_CC_ARGS=
 GLIBC_EXTRA_CONFIG= --with-tls --with-__thread --enable-kernel=2.4.18
GLIBC_EXTRA_ENV=
JUST_DOWNLOAD=
KERNELCONFIG=/home/rakesh/crosstool1/crosstool-0.43/mips.config
LINUX_DIR=linux-2.6.9
LINUX_SANITIZED_HEADER_DIR= linux-libc-headers-2.6.12.0
NO_DOWNLOAD=
PREFIX=/opt/crosstool/gcc-3.4.5-glibc-2.3.6/mips-unknown-linux-gnu
PTXDIST_DIR=
SHARED_MODE=--enable-shared
SRC_DIR=/home/rakesh/crosstool1/crosstool-0.43/build/mips-unknown-linux-gnu/gcc-
3.4.5-glibc-2.3.6
TARBALLS_DIR=/home/rakesh/downloads
TARGET=mips-unknown-linux-gnu
TARGET_CFLAGS=-O2 -finline-limit=10000
TOP_DIR=/home/rakesh/crosstool1/crosstool-0.43
USE_SYSROOT=


As Im a newbie to Linux and cross-tools, I really appreciate your help in this matter.

Thanks
Mangesh




--
Wine for Windows ISVs: http://kegel.com/wine/isv

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]