mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Justin Carlson <justincarlson@cmu.edu>
To: Abdij Bhat <Abdij.Bhat@kshema.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: error compiling kernel for mips
Date: 03 Apr 2002 14:24:05 -0500	[thread overview]
Message-ID: <1017861846.1133.285.camel@gs256.sp.cs.cmu.edu> (raw)
In-Reply-To: <91A7E7FABAF3D511824900B0D0F95D10136FD5@BHISHMA>

[-- Attachment #1: Type: text/plain, Size: 1366 bytes --]

On Wed, 2002-04-03 at 14:05, Abdij Bhat wrote:
> Hi,
>  When i try compiling the Kernel for mips i get errors. The kernel is 2.4.17
> downloaded from www.kernel.org. I have the mips developments environment
> set. I have (hopefully) the right headers and have modified the makefile to
> get the headers from those include directories.
>  My main problem is changing the architecture from arch686 ( mine ) to mips.
> How to i do this? What do i need to do inorder for the make to get the right
> architecture? Or is there some other problem too?
> 

Check out this line in the base level makefile:

ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e
s/arm.*/arm/ -e s/sa110/arm/)

This actually looks broken for cross-compile, but I haven't been
following the changes particularly closely...try using this instead:

ARCH := mips

Really, though if you're compiling for mips you should probably grab the
mips-linux CVS sources here:

 cvs -d :pserver:cvs@oss.sgi.com:/cvs login
   (Only needed the first time you use anonymous CVS, the password is
"cvs")
   cvs -d :pserver:cvs@oss.sgi.com:/cvs co <repository>

There's a 2.4 tagged branch that's probably closer to what you want. You
can ask for mips-specific on linux-mips@oss.sgi.com, and you'll be much
more likely to get a prompt and useful answer.

-Justin


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2002-04-03 19:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-03 19:05 Abdij Bhat
2002-04-03 19:24 ` Justin Carlson [this message]
2002-04-04 17:12   ` Maciej W. Rozycki
2002-04-03 20:05 ` [Linux-mips-kernel]error " M. R. Brown

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=1017861846.1133.285.camel@gs256.sp.cs.cmu.edu \
    --to=justincarlson@cmu.edu \
    --cc=Abdij.Bhat@kshema.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®