The absence of a arm-thumb interworking libgcc.a
Richard Earnshaw
rearnsha@arm.com
Thu Jun 5 11:11:00 GMT 2003
> It seems that there is neither arm-interworking libgcc.a nor
> thumb-interworking libgcc.a in gcc3.2.
> In order to generate arm interworking libgcc.a and thumb interworking
> libgcc.a, what should I do?
>
> I guess if I can get libgcc.a compiled with -mthumb-interwork or
> -mthumb -mthumb-interwork , it all should work out.
>
> Then, I have a look at ~/rpm/BUILD/gcc-3.2/gcc/config/arm/t-arm-elf
> and find these three lines are already uncommented:
>
> MULTILIB_OPTIONS = marm/mthumb
> MULTILIB_DIRNAMES = arm thumb
> MULTILIB_EXCEPTIONS =
>
> which means interworking libgcc.a is supporsed to exist.
>
You need to uncomment the multi-lib options that build the interworking
variants of libgcc.a (they are in the same file as the ones you cite
above).
# MULTILIB_OPTIONS += mno-thumb-interwork/mthumb-interwork
# MULTILIB_DIRNAMES += normal interwork
# MULTILIB_EXCEPTIONS += *mapcs-26/*mthumb-interwork*
#
Having done that you will have to rebuild and install your compiler.
R.
More information about the Gcc
mailing list