> On 01.07.2015, at 05:26, Andrei Borzenkov <arvidj...@gmail.com> wrote: > > GCC allows to build either little endian or big endian code on PowerPC > using -mlittle-endian or -mbig-endian. As far as I know clang supports > this option only on AArch64. Is there other options that allow it? > I /think/ that selecting the right target could do it, like in > > clang -target powerpc > > Am I right?
LLVM doesn't support little endian 32-bit PowerPC currently. There is some support for little-endian ppc64 though, it can be enabled with '-target powerpc64-your-triple' or with '-mlittle-endian' (after r241528). - Benjamin _______________________________________________ cfe-users mailing list cfe-users@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users