This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: little endian code on sparc v8
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: êìì <yskwon at etri dot re dot kr>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 26 Mar 2013 22:08:06 +0100
- Subject: Re: little endian code on sparc v8
- References: <E31DBD69B8887C4EBAE10A364D1970A90DF0ADC9 at SMTP2 dot etri dot info>
> The big headache that I am facing these days is that
> "-mcpu=v8"(gcc-sparc-v8 does not support little-endian. After web
> searching, it seems that gcc-sparclet supported V8 engine but it seems that
> it's now deleted(?).
I'm not sure that SPARClet was V8. In any case, the SPARC V8 architecture is
big-endian only according to the manual. You need SPARC V9 to have support
for little-endian.
> Is there a way to do generate little-endian code for -mcpu=v8?
> There is the gcc option "-mlittle-endian" to support little-endian
> in gcc-sparc, but the manual also says "-mlittle-endian" is not supported
> in sparc.
No, there is no way.
> Is there someone who know the patches or way to do little-endian
> for sparc core?
Not that I know of.
> As I am working on gcc these days, it would be appreciated if someone
> tells me how I can join gcc developers group for sparc v8's custom core.
There is no formal group, just individuals on the GCC lists.
--
Eric Botcazou