http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50705
--- Comment #8 from SK <santoshkumar.a at gmail dot com> 2011-10-14 04:48:13 UTC --- Yes the HW engine that is present on the controller works in Little endian therefore we need linux to work in LE on PPC. I changed Binutils GLIBC GCC GCC Changes:: Binutils gas/configure: case "$endian" in big) ;; little) ;; GLIBC GCC 1) gcc/config/rs6000/sysv4.h #define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_LITTLE_ENDIAN) ASM_SPEC 2) mcall-gnu :-mlittle; \ ++ mcall-i960-old :-mlittle} \ ++-mlittle" 3) #define CC1_ENDIAN_DEFAULT_SPEC "%(cc1_endian_little)" #define MULTILIB_DEFAULTS { "mlittle", "mcall-sysv" } 4) CC1_SPEC mcall-gnu : -mlittle %(cc1_endian_little); \ + mcall-i960-old : -mlittle %(cc1_endian_little); \ + : %(cc1_endian_default)} \ 5) LINK_SPEC: added -EL at the end LINK_TARGET_SPEC added --oformat elf32-powerpcle at end