armeb target cross compiler endianness question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to build a cross compiler for the "armeb-softfloat-linux-uclibceabi" target using gcc-4.2.4 for an embedded linux system based on arm 1176 processor core.

I have a suspicion that the compiler defaults to little endian output. Is there a way to check the default endianness setting used by the compiler? I understand that I could pass "-mbig-endian" flag but this is not an option for me. 

I have grepped through the code and googled and I saw references in very old mails about modifying CC1_SPEC in arm.h to "-mbig-endian" but I am afraid if this information is current. I also see endian flag used an ASM_SPEC in elf.h.

What's the correct way to provide the correct default endian value? 

Thanks,
Mohan



      

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux