This is the mail archive of the gcc-patches@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: Adding Leon processor to the SPARC list of processors


> 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


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