This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
error while cross compiling
- From: =?gb2312?B?zfQg0u0=?= <dam_wang at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org, fche at redhat dot com
- Date: Mon, 18 Nov 2002 10:12:04 +0000
- Subject: error while cross compiling
- Bcc:
Hi
I built a cross compiler and compiled a toy program, but I got a error like
this:
/home/student/wangy/eCos-arm-elf/H-i686-pc-linux-gnu/arm-elf/bin/ld: cannot
open crt0.o: No such file or directory
collect2: ld returned 1 exit status
My cross compiler was under
/home/student/wangy/eCos-arm-elf/H-i686-pc-linux-gnu/bin, I built the cross
compiler with the help of this document:
http://sources.redhat.com/ecos/tools/linux-arm-elf.html
but the versions of the components wad not what it provided, while I
couldn't find them, I choose some upper release:
binutils-2.13.tar
gcc-g++-2.95.2.tar.bz2
gcc-core-2.95.2.tar.bz2
insight-5.2.1.tar.bz2
gdb-5.2.1.tar.bz2
What to do now?
Thanks for your help!
Dam Wang
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/lccn/