Adding Leon processor to the SPARC list of processors
Eric Botcazou
ebotcazou@adacore.com
Mon Nov 22 15:43:00 GMT 2010
> I would suggest a simple solution:
> I can have 5 --with-cpu configure possibilies:
>
> 1. single-lib explicit selection:
> - --with-cpu=sfsparcleon : v7/soft |
> - --with-cpu=sfsparcleonv8 : v8/soft |
> - --with-cpu=hfsparcleon : v7/hard |
> - --with-cpu=hfsparcleonv8 : v8/hard |
--with-cpu isn't really appropriate for this, we already have --with-cpu=v7/v8
and --with-float=soft/hard and --disable-multilib.
> 2. generic multilib:
> - --with-cpu=leon : defaults to v7/hard
> use [-mcpu=v8 / -msoft-float ]
> at compile-time to select the hardware
> setting.
--with-cpu shouldn't change multilibs. Multilibs are a property of a target,
e.g. sparc-leon-elf or sparc-rtems, not that of a cpu setting.
--
Eric Botcazou
More information about the Gcc
mailing list