Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Chien-Lung Wu <cwu@deltartp.com>
Cc: "'linux-mips@linux-mips.org'" <linux-mips@linux-mips.org>
Subject: Re: mips cross-compiler
Date: Tue, 28 Jan 2003 07:56:10 +0100	[thread overview]
Message-ID: <20030128075610.B20541@linux-mips.org> (raw)
In-Reply-To: <A4E787A2467EF849B00585F14C9005590689D3@dprn03.deltartp.com>; from cwu@deltartp.com on Mon, Jan 27, 2003 at 04:53:38PM -0500

On Mon, Jan 27, 2003 at 04:53:38PM -0500, Chien-Lung Wu wrote:

> from ftp://oss.sgi.com/pub/linux/mips

The Linux/MIPS project has moved to (guess ...) linux-mips.org.  oss
still contains a mirror of ftp.linux-mips.org but it's only updated
manually in irregular intervals.

> When I use rpm comand to install binutils and egcs, they work fine.
> 	rpm -i binutils-mips-linux-2.8.1-1-i386.rpm
> 	rpm -i egcs-mips-linux-1.0.3a-2.i386.rpm
> 
> However, as I intsall the glibc with the rpm command:
> 	rpm -i glibc-2.1.95.1.mips.rpm
> 
> I got a confliction with glibc-common-2.2.4-13, since my native glibc is
> 2.2.4-13. Thus I cannot install glibc.
> 
> Can anybody show me how to install the cross-compiler correctly? (what is
> the correct rpm command?)

Rpm just saved your system.  If you're installing this MIPS glibc into a
crosscompiler machine as it seems then keep your CDROM at hand for
reinstallation.  You will need it ...

> More questions:
> If I have native glibc, can I install another glibc for cross-compiler?

Sure, they have nothing in common.

> Can I install the binutils-mips-linux-2.8.1-1 to a specific path?  How?
> ( when I install them with rpm -i command, the executable files will go to
> /usr/bin as default. Can I change that?)

Only very few packages support that; these packages don't.

You will not be able to build a kernel with binutils 2.8.x or egcs 1.0.x.
The absolute minimum required to build a kernel is egcs 1.1.2 and
binutils 2.13.1 which you can download from ftp.linux-mips.org.  Cross-
compiling a kernel does not require the installation of a MIPS glibc on
the crosscompilation host.  If you're going to crosscompile application
software you'll need a much more recent gcc even.

  Ralf

  reply	other threads:[~2003-01-28  6:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-27 21:53 mips cross-compiler Chien-Lung Wu
2003-01-28  6:56 ` Ralf Baechle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-28  4:38 santosh kumar gowda
2001-05-14 19:24 Mips cross-compiler Jason Brock
2001-05-16  9:43 ` Ian Chilton
2001-05-16  9:43   ` Ian Chilton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030128075610.B20541@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=cwu@deltartp.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox