Thank you all, The gcc version I have here is 4.1.2 (I use it for building the latest linux kernel). When trying to build u-boot with this version, I get the following errors:
include/common.h:0: error: -mcall not supported in this configuration include/common.h:0: error: -mrelocatable not supported in this configuration include/common.h:0: error: -meabi not supported in this configuration This is why I thought there was a problem building gcc with the native gcc in the first place. Anyway, I also have an installation of gcc 4.1.1 (which doesn't work with the latest linux kernel). Using it to build u-boot produces a successful build. I guess I can keep the two different gcc versions on my machine, one for building u-boot, and one for building linux. Cheers, David. ________________________________________ From: Kumar Gala [ga...@kernel.crashing.org] Sent: Tuesday, March 17, 2009 2:22 PM To: Jerry Van Baren Cc: David Saada; u-boot@lists.denx.de Subject: Re: [U-Boot] Building u-boot on a PowerPC host On Mar 17, 2009, at 7:02 AM, Jerry Van Baren wrote: > David Saada wrote: >> Hello, >> Is there a recommended toolchain for building U-Boot on a PowerPC >> host? I've used ELDK on x86 hosts in the past for this purpose, and >> it worked fine, but now I need to perform it on a PowerPC host. As >> far as I could see, ELDK wasn't supported on PowerPC hosts. >> My target boards are the MPC85xx and MPC83xx ones. >> Thanks, >> David. > > Hi David, > > Ummmm native gcc? Is going straight causing problems??? :-) :-/ > > What is your host? What is your distribution? Genesi folks (I see > Matt > Sealey's name on the u-boot list) may be able to help out here. > <http://www.genesi-usa.com/> I build all my u-boot's on a G5 running fedora 9 w/o any issue using the native toolchain. - k _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot