This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Error making gcc compiler
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: "Dimitri Frederickx" <dimi at flashmail dot com>
- Cc: gcc-help at gcc dot gnu dot org, gcc at gcc dot gnu dot org, Richard dot Earnshaw at arm dot com
- Date: Fri, 01 Feb 2002 14:11:22 +0000
- Subject: Re: Error making gcc compiler
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> I need to get a compiler for wince and arm processor
> These are the things I've done (gcc3.0.3):
>
> 1. Downloaded gcc-3.0.3.tar.gz and binutils-2.11.2
> 2. configured and made and installed binutils without any problems
> 3. configuring gcc3.0.3
> ./configure --target=arm-wince-pe
> make all install
>
> the following errors I get:
> config/arm/lib1funcs.asm: Assembler messages:
> config/arm/lib1funcs.asm:452: Error: Can not represent
> BFD_RELOC_THUMB_PCREL_BRANCH23 relocation in this object file format
> make[2]: *** [libgcc/thumb/_udivsi3.o] Error 1
> make[2]: Leaving directory `/gcc-3.0.3/gcc'
> make[1]: *** [stmp-multilib] Error 2
> make[1]: Leaving directory `/gcc-3.0.3/gcc'
> make: *** [all-gcc] Error 2
>
> and build stops.
>
> Does anyone knows what this error mains and how it can be solved? Or do I
> need another tool next to the binutils?
It means that gcc hasn't been ported to wince for the ARM (indeed it may
not have been ported to wince for anything). The ARM-pe port was done for
a different project and will almost certainly not work with wince as is.
Patches would of course be welcome...
R.