This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: how to enable thumb-interwork, soft float and little endian in newlib for arm-elf


> I was wondering how I could have newlib build with interworking,
> soft floating point and little endian enabled.
> I didn't find the corresponding configure options, and
> I had to directly edit the top-level Makefile generated by configure
> to had :
>  -mthumb-interwork -msoft-float -mlittle-endian
> to the CFLAGS macro.
> 
> Thandk you
> 

Yes, the correct way to do this is to edit the file 
gcc/config/arm/t-arm-elf and uncomment the lines

# MULTILIB_OPTIONS    += mno-thumb-interwork/mthumb-interwork
# MULTILIB_DIRNAMES   += normal interwork
# MULTILIB_EXCEPTIONS += *mapcs-26/*mthumb-interwork*

Then rebuild and reinstall your compiler.

R.


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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