public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* error compiling kernel for mips
@ 2002-04-03 19:05 Abdij Bhat
  2002-04-03 19:24 ` Justin Carlson
  2002-04-03 20:05 ` [Linux-mips-kernel]error " M. R. Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Abdij Bhat @ 2002-04-03 19:05 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org',
	'linux-mips-kernel@lists.sourceforge.net'
  Cc: Abdij Bhat

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-04 17:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-03 19:05 error compiling kernel for mips Abdij Bhat
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox