Re: [U-Boot] Configuring U-Boot for MPC8349E in little endian mode

Hi Vivek (et al)
I have very much the same issue...a lib I need to link to that is only available as built in little-endian (don't have the src, sadly). So I am trying to build u-boot for powerpc in LE. I have added the -mlittle-endian and -EL to the build, but now it is failing when trying to link libgcc.a, as libgcc.a is built in the toolchain in BE and I'm trying to link it as LE. Did you find some nice way around this? All I can see is trying to build my own toolchain....I am using a prebuilt toolchain from EP that came, at some point, from the ELDK....but I'm pretty sure I don't have the src. to these libs. Just hoping there is some other way.....
Any help/advice would by VERY much appreciated!
Thanks, troy

Dear Troy Laramy,
In message AANLkTilsq7WwysMhnl5zdZuIFULZiTwO6Qppq9POVqjR@mail.gmail.com you wrote:
I have very much the same issue...a lib I need to link to that is only available as built in little-endian (don't have the src, sadly). So I am
You want to link U-Boot (on a Power Architecture system) against a closed source, little-endian library?
YOu are aware that U-Boot is covered by the GPL, and linking against closed-source code results in a license clash?
trying to build u-boot for powerpc in LE. I have added the -mlittle-endian and -EL to the build, but now it is failing when trying to link libgcc.a, as libgcc.a is built in the toolchain in BE and I'm trying to link it as LE.
The Power Architecture has a naturan byte order, and this is big endian. I consider all attempts to make them run in LE mode a waste of time and resources.
Did you find some nice way around this? All I can see is trying to build my own toolchain....I am using a prebuilt toolchain from EP that came, at some point, from the ELDK....but I'm pretty sure I don't have the src. to these libs. Just hoping there is some other way.....
No source to this LE lib, no source to the tools. I would not like to be in your position.
Best regards,
Wolfgang Denk
participants (2)
-
Troy Laramy
-
Wolfgang Denk