This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: The absence of a arm-thumb interworking libgcc.a


> > 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.
> 
> Following your advice I fixed t-arm-elf and rebuilded gcc.
> But I don't see any changes have been made to gcc.
> 
> I'm guessing t-arm-elf doesn't have any effect on building gcc
> when --target=arm-linux is specified at configuration ,whereas t-linux does.
> Am I right?

Yep.

> 
> In order to produce a libgcc.a which support thumb interworking 
> do I need to fix t-linux?
> 

Yep.  Whether or not a Linux system supports Thumb code in general though 
is a separate issue that you also need to consider.

R.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]