public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Configuring U-Boot for MPC8349E in little endian mode
@ 2010-06-17 15:23 Troy Laramy
  2010-06-17 18:32 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Troy Laramy @ 2010-06-17 15:23 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Configuring U-Boot for MPC8349E in little endian mode
  2010-06-17 15:23 [U-Boot] Configuring U-Boot for MPC8349E in little endian mode Troy Laramy
@ 2010-06-17 18:32 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2010-06-17 18:32 UTC (permalink / raw)
  To: u-boot

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

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The evolution of the human race will not be accomplished in  the  ten
thousand  years  of  tame  animals,  but in the million years of wild
animals, because man is and will always be a wild animal.
                                              - Charles Galton Darwin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-17 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-17 15:23 [U-Boot] Configuring U-Boot for MPC8349E in little endian mode Troy Laramy
2010-06-17 18:32 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox