From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 17 Jun 2010 20:32:55 +0200 Subject: [U-Boot] Configuring U-Boot for MPC8349E in little endian mode In-Reply-To: References: Message-ID: <20100617183256.04DF0D81C69@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Troy Laramy, In message 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