Preparing toolchain on a Pentium III Redhat 7.0

Jan Smith jan at
Wed Apr 16 05:48:56 EST 2003

On Tue, 2003-04-15 at 16:54, VAKKALANKA RAO Sridhar wrote:
> Hello,
> I acquired a p630 6E4 with a AIX 5.1 (target operating system with no development environment) on it. My goal is to install a PPC64 linux on it. However, progress was completely blocked because AIX 5.1 is not receptive to GNU tools. So I acquired a Pentium III with Redhat 7.0 and used CVS to download latest sources for the kernel, binutils, gcc & glibc - this is with the hope of cross building the toolchain and cross compiling the kernel.
> In the url, the configuration parameters for "binutils" for the first pass state "--target=powerpc-linux". Should this not be "--target=powerpc64-linux" instead?
> When I execute "config.guess" on the Pentium III Redhat 7.0, I receive the output "i686-pc-linux-gnu". So, when I set up the configuration parameters for the cross-build, should I replace every occurence of "powerpc-linux" (displayed in the url) to "i686-pc-linux-gnu" and at the same time keep every occurence of "powerpc64-linux" the same?
> Is it possible to cross build the PPC64 kernel and toolchain even though the Pentium III is a 32 bit machine?
> I really would appreciate an answer

I'd really sugest you to use another version of RH as just v7.0 has a
totally broken gcc. Choose 8.0 or 9 instead or if you want to use an old
version take v6.2. gcc v2.96 which is a beta version of GCC3 are
building very bad binaries.
Another solutions is to install a 32bit PPC-Linux and start from there.
That will probably be much easier. I've tried to do that for the kernel
on a pSeries 640 B80 with great success. But it was just a test as I
didn't have any 64bit glibc at that time. (There were no one available
18 months ago.)

Good luck

   /Jan Smith

** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list