Big endian in combined one-pass build

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

 



Hi all.

I am trying to compile GCC 4.5.1 and newlib-1.18.0 in one-pass
combined build. I created symlink to newlib directory in gcc
directory. Target is arm-elf.

I use configuration options --disable-multilib and --with-endian=big.

After compilation of toolchain, I can see that Newlib was compiled in
LE mode, so I can not compile my software properly.

I noticed that in order to compile newlib in BE mode, I have to force
GCC target to armeb-elf (and then newlib have to be patched, because
it does not recognize armeb target)

Questions are :
1) Why is this happening and how to force newlib to compile in BE mode ?
2) Can --with-endian=big flag work even if I disabled multilib (i.e.
is multilib necessary for BE mode build ?)
3) Do I always have to use armeb-elf instead of arm-elf target when
multilib is disabled

Thanks for the answers,
Drasko


[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