But the problem comes here, my gentoo based MIPS/N32 system is a 64 bit kernel with 32 bit (only) userland, that confuses rpm and dpkg, as it will try to build 64 bit userland (N64), 32 bit userland (O32) and native userland (N32), but at the same time my toolchain has just N32 capabilities, so we cannot directly build gcc/glibc using the Fedora 11 source.
After some changes in platform parameters in rpmbuild and add some checking in the spec file, finally I built using a new architecture - mips64el-redhat-linux, and default to just build N32 binaries of gcc/glibc, so my 3rd milestone is reached now, glibc, binutils, gcc, perl, python all ready for use. Next is rebuilding of whole userland from shell to X.org.

