> 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