This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [Fwd: Arm cross compiler: Error]
- To: "sivashankar nagappan" <sivashankar dot naga at wipro dot com>
- Subject: Re: [Fwd: Arm cross compiler: Error]
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- Date: 28 Sep 2001 10:56:49 +0100
- Cc: gcc at gcc dot gnu dot org, "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- References: <3BB40769.201278D6@wipro.com>
Hi Nagappan,
> I have built GCC cross compiler for arm and tried to use it.
> When I compile a program with -c, -s options the object file and
> assembly files are created respectively. But when I try to make
> the executable it prompts me an error saying unable to find crt0.o
> and the ld exits with 1 as return status. May anyone help me in
> finding what would be wrong in the building the cross compiler.
It sounds like you need a C library :-) crt0.o is the C run time
startup file. Try downloading and building newlib, a simple C library
implementation intened for embedded apps:
http://sources.redhat.com/newlib/
or GNUlibc - a full featured C library implementation:
http://sources.redhat.com/glibc/
Cheers
Nick