On Wed, 2003-10-29 at 10:30, Philippe Coulonges wrote: > Le Tue, 28 Oct 2003 11:16:47 -0500 > Kumba écrivait : > > > I'm unsure how tested that ability it. I made some ebuilds for > > binutils/gcc sparc/mips64 support, and in doing so, inadvertently made > > them capable of building cross-compilers. I'm also working on a > > script to do cross-compilers that I hope to put into portage maybe > > within another week or so....still beating the bugs out of it. > > Well, my goal is to build a gcc X-compiler for powerpc-unknown-eabi > (embedded device). > I'm not hurry as it will be a replacement for a compilation chain that > works, so I would prefer a clean, gentoo's way solution. > > I started modifying the binutils ebuild in the same way as gcc, i.e. > using env variable for the definition of the target and using SLOT. I > still have a headache on the install part to figure out where everything > should be. > > Since you seem more advanced, I will wait for your work. I'm willing to > help however so you can pass me some scripts or ebuilds for testing if > you wish. > How things are planned to work (or was rather), you will only need one ebuild, and the SLOT="${PV}-${CCHOST}" will ensure that you have multiple SLOT's. This support is however still not in portage, so its a pita currently :/ Thanks, -- Martin Schlemmer Gentoo Linux Developer, Desktop/System Team Developer Cape Town, South Africa