linux-mips
[Top] [All Lists]

Re: Linux for MIPS Atlas 4Kc board -problems :(

To: "Michael Anburaj" <michaelanburaj@hotmail.com>
Subject: Re: Linux for MIPS Atlas 4Kc board -problems :(
From: Keith Owens <kaos@sgi.com>
Date: Fri, 02 May 2003 14:18:13 +1000
Cc: linux-mips@linux-mips.org
In-reply-to: Your message of "Thu, 01 May 2003 20:25:20 MST." <BAY1-F28gEpTX5V3Gyk00001423@hotmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
On Thu, 01 May 2003 20:25:20 -0700, 
"Michael Anburaj" <michaelanburaj@hotmail.com> wrote:
>Then I configured using,
>$ make ARCH=mips menuconfig
>[root@localhost linux]# make
>make -f scripts/Makefile.build obj=arch/mips/kernel 
>arch/mips/kernel/offset.s
>  gcc -Wp,-MD,arch/mips/kernel/.offset.s.d -D__KERNEL__ -Iinclude -Wall 
>-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
>-fno-strict-aliasing -fno-common -I /usr/src/linux/include/asm/gcc -G 0 
>-mno-abicalls -fno-pic -pipe -mcpu=r4600 -mips2 -Wa,--trap -nostdinc 
>-iwithprefix include    -DKBUILD_BASENAME=offset   -S -o 
>arch/mips/kernel/offset.s arch/mips/kernel/offset.c
>gcc: cannot specify -o with -c or -S and multiple compilations
>make[1]: *** [arch/mips/kernel/offset.s] Error 1
>make: *** [arch/mips/kernel/offset.s] Error 2

You have to specify ARCH=mips on _all_ make commands, not just make
*config.  Do 'make ARCH=mips' for the second one.


<Prev in Thread] Current Thread [Next in Thread>