[cfe-users] Compiling big-endian code on powerpc64le

Andrei Borzenkov arvidjaar at gmail.com
Tue Jun 30 20:26:30 PDT 2015

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?



More information about the cfe-users mailing list