big endian conflicts thumb in arm-elf config

Richard Earnshaw rearnsha@arm.com
Mon Jul 28 08:48:00 GMT 2003


> Hi, Deal all
> 
> After I enabled both big endian and thumb in gcc/config/t-arm-elf   like 
> this:
> 
> MULTILIB_OPTIONS     = marm/mthumb
> MULTILIB_DIRNAMES    = arm thumb
> MULTILIB_EXCEPTIONS  =
>    
> MULTILIB_OPTIONS     = mlittle-endian/mbig-endian
> MULTILIB_DIRNAMES    = le be
> MULTILIB_EXCEPTIONS  =
> MULTILIB_MATCHES     = mbig-endian=mbe mlittle-endian=mle
> 
> then I compiled gcc with newlib, I found  thumb support was missing:
> 

You've dropped the "append-to-variable" from the extra options.  Use:

MULTILIB_OPTIONS     = marm/mthumb
MULTILIB_DIRNAMES    = arm thumb
MULTILIB_EXCEPTIONS  =
   
MULTILIB_OPTIONS     += mlittle-endian/mbig-endian
MULTILIB_DIRNAMES    += le be
MULTILIB_EXCEPTIONS  +=
MULTILIB_MATCHES     += mbig-endian=mbe mlittle-endian=mle


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



More information about the crossgcc mailing list