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]

cross-compiler problem


Hello

I tried to build cross compiler on Red Hat Linux release 7.3 (Valhalla) Kernel 2.4.18-3 on an i686.
I use binutils-2.13, gcc-3.2, glibc-2.2.5, glibc-2.2.5-mips-build-gmon.diff, glibc-linuxthreads.tar.gz.
I followed the instructions from http://www.ltc.com/~brad/mips/mipsel-linux-cross-toolchain-building.txt

I installed binutils - no problems.
For gcc, I had a problem about the header so I changed --with-headers location from

../gcc3-2/configure --target=mipsel-linux --enable-languages=c --disable-shared \
--with-headers=/usr/include

to

../gcc3-2/configure --target=mipsel-linux --enable-languages=c --disable-shared \
--with-headers=/usr/local/mipsel-linux/include

After that I do glibc which I got error while running make command.

../sysdeps/unix/syscall.S: Assembler messages:
../sysdeps/unix/syscall.S:28: Error: absolute expression required 'li'
make[2]: *** [/home/powerpuff/crosscmp/mipsel-glibcmisc/syscall.o] Error 1
make[2]: *** Leaving directory '/home/poserpuff/crosscmp/glibc-2.2.5/misc'
make[1]: *** [misc/subdir_lib] Error 2
make: *** [all] Error 2

May anyone help me?

Thanks,
khantharat




_________________________________________________________________
MSN 8: advanced junk mail protection and 3 months FREE*. http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_advancedjmf_3mf


------
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]