[ECOS] Problems while cross compiling for ARM
Bart Veer
bartv@redhat.com
Wed Nov 8 06:13:00 GMT 2000
>>>>> "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
More information about the Ecos-discuss
mailing list