From: Abdij Bhat <Abdij.Bhat@kshema.com>
To: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>,
"'linux-mips-kernel@lists.sourceforge.net'"
<linux-mips-kernel@lists.sourceforge.net>
Cc: Abdij Bhat <Abdij.Bhat@kshema.com>
Subject: error compiling kernel for mips
Date: Thu, 4 Apr 2002 00:35:26 +0530 [thread overview]
Message-ID: <91A7E7FABAF3D511824900B0D0F95D10136FD5@BHISHMA> (raw)
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?
Here is the error listing
mipsel-linux-gcc -D__KERNEL__ -I/usr/tools/mipsel-linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -march=i686 -c -o init/main.o
init/main.c
cc1: bad value (i686) for -march= switch
Assembler messages:
Fatal error: invalid architecture -march=i686
make: *** [init/main.o] Error 2
Thanks and Regards,
Abdij
next reply other threads:[~2002-04-03 19:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-03 19:05 Abdij Bhat [this message]
2002-04-03 19:24 ` Justin Carlson
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=91A7E7FABAF3D511824900B0D0F95D10136FD5@BHISHMA \
--to=abdij.bhat@kshema.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips-kernel@lists.sourceforge.net \
/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®