This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problems while cross compiling for ARM
- To: igor at bluewind dot it
- Subject: Re: [ECOS] Problems while cross compiling for ARM
- From: Bart Veer <bartv at redhat dot com>
- Date: Wed, 8 Nov 2000 14:13:13 GMT
- CC: ecos-discuss at sources dot redhat dot com
- References: <3A092BFD.28088.154496@localhost>
- Reply-to: bartv at redhat dot com
>>>>> "Igor" == Igor Trevisan <igor@bluewind.it> writes:
Igor> I built an ARM-Thumb development tool for Linux following
Igor> step by step all the instructions I found in the page:
Igor> "Building the thumb-elf development tools for Linux", and
Igor> I'm still trying to cross-compile a simple "hello.c" file
Igor> but I don't succeed. I'm using the tool without eCos. Now my
Igor> arm-gcc find the include files; but I have to do with the
Igor> following new error message:
Igor> /tools/H-i686-pc-linux-gnu/lib/gcc-lib/arm-elf/2.97/../../../../arm-elf/bin/ld:
Igor> cannot open crt0.o: File o directory inesistente
Igor> collect2: ld returned 1 exit status
Igor> What can I do to avoid this problem?
Igor> Thanks in advance to everyone that will help me.
If you are using newlib rather than eCos then there should be a crt0.o
file in a lib directory somewhere inside the install tree. You may
need to specify a suitable path using a -L argument to arm-elf-gcc,
although I would have expected the compiler to be able to find this
directory automagically. It is a long time since I did any work with
newlib rather than eCos so I am afraid I cannot remember all the
details. You may have more luck asking this question on the cross-gcc
mailing list, http://sources.redhat.com/ml/crossgcc, since the people
on the ecos-discuss mailing list are usually not particularly
interested in newlib anymore.
Bart Veer // eCos net maintainer