On Wed, Jul 21, 1999 at 05:19:26PM +0200, Kossay Omary wrote:
: Hi
:
: i'm trying to compile linux kernel for MIPS Cpu's using Pentium
: computer.
You mean cross compile it :)
: the problem is that i got confused by the packages that i must get and
: their
: dependencies each to other.
:
: meanwhile i'm running RedHat v 5.2 on my PC
The current cross compile utilites (binutils and egcs) in rpm format are
for Redhat 6.0, not Redhat 5.2. If you want to use them on RedHat 5.2, you
will have to download the Sources RPMS and built them on Redhat 5.2, but
then your milage may vary.
: i'v downloaded the linux's kernel from CobaltNetworks site.
: ( i need this package because i'm building linux over embedded system
: and
: this package is the most relevant to the linux kernel i need)
:
: i'v downloaded binutils-mips-linux-2.8.1-1 (file is
: binutils-mips-linux-2.8.1-1.i386.rpm)
: but when i try to install it (rpm -i /temp/binutils...i386.rpm) it
: writes :
: libc.so.6 (GLIBC_2.1) is needed by binutils-mips-linux-2.8.1-1
: libc.so.6 (GLIBC_2.0) is needed by binutils-mips-linux-2.8.1-1
:
: i'v downloaded egcs-mips-linux-1.0.3a-1.i386.rpm (cross-compiler) and
: tried to install
: it but the same error appears.
And that is right, they were compile on Redhat 6.0, which uses glibc 2.1.
:
: my questions are :
: 1.. where can i get libc.so.6 (GLIBC2.x) ; and where should i install it
: ? this package
You can upgrade to Redhat 6.0
: should be compatible for the pentium processor ; am i right ?
: 2.. after installing the cross-compiler where can i find a glibc for the
: cross-compiler itself
If you are just compiling the kernel, you don't need a cross glibc.
: in order to compile the kernel for MIPS ? and where should i install
: it ?
: 3.. do you suggest a better kernel source other than that from
: CobaltNetworks ?
: does redhat v 6 has a source code for Mips ? (embedded systems
: purpose)
: 4.. does redhat v 6 has development tools for Mips ? (cross-compiler
: with glibc's etc...)
The cobalt kernel is specific to the cobalt equipment, if you need to
work with other mips processors, get the CVS source from ftp.linux.sgi.com
(you can look at http://www.linux.sgi.com for futher details)
: remarks :
: 1.. i will install all the sources needed for the kernel (kernel
: source+glibc compatible for
: Mips) under a user called 'project' - so if you can also write for me
: the command line
You don't need glibc for just compiling the kernel.
: that i should use to install the packages relative to "~project" rather
: than the root directory.
: 2.. i'm not a pro in linux kernel compiling so i prefer ; if possible ;
: as much as detailed
: answers.
There should be no problem compiling the kernel in a differnt location.
--
Mat Kovach mkovach@mkovach.nacs.net
This e-mail is brought to you by the letter gamma and number e
|