This is the mail archive of the crossgcc@sources.redhat.com 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]

Problem when using crosstool-0.28-rc37 to build mips-linux toolchain


Hi,

I'm trying to build a mips-linux toolchain for a big endian mips
target on a linux i686 host. I'm currently using crosstool-0.28-rc37 with:

binutils-2.14
gcc-3.3.2
glibc-2.3.2
linux-2.4.20

and the following configuration files:

kafafino@lillooet% more mips.dat
KERNELCONFIG=`pwd`/mips.config
TARGET=mips-linux-gnu
TARGET_CFLAGS="-O2 -finline-limit=10000"

kafafino@lillooet% more gcc-3.3.2-glibc-2.3.2.dat
BINUTILS_DIR=binutils-2.14
GCC_DIR=gcc-3.3.2
GLIBC_DIR=glibc-2.3.2
LINUX_DIR=linux-2.4.20
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2

The script seems to build binutils successfully, install glibc
headers, build gcc core then glibc, but when the script tries to do a
make install for glibc, I get the following error:

make: error while loading shared libraries: libc.so.6: ELF file data
encoding not little-endian

I get the same error when I try to use binutils-2.15, gcc-3.3.4,
glibc-2.3.2 and linux-2.6.8. I'm not really sure what the problem is.
Has anyone faced a similar
problem, or have any ideas on how to fix it?

Thanks in advance for your help.
Noha

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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