This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

error while cross compiling


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/

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