Error Linux Krenel for SWARM (SB1250)
I have a got a error when I build linux kernel for SWARM board(SB1250).
send a query to solve..
[root@gda_Santhosh kernel]# gmake vmlinux
mips-linux-gcc -I /home/revathy/linux/src/kernel/include/asm/gcc -D__KERNEL__ -I/home/revathy/linux/src/kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -G 0 -mno-abicalls -fno-pic -mcpu=sb1
-mips2 -Wa,--trap -pipe -c -o init/main.o init/main.c
Assembler messages:
Error: invalid architecture -mcpu=sb1
cc1: bad value (sb1) for -mcpu= switchinit/main.c:198: output pipe has been closed
cpp: output pipe has been closed
gmake: *** [init/main.o] Error 1
Quoted 5 lines · santhosh
I have a got a error when I build linux kernel for SWARM board(SB1250).
send a query to solve..
Sounds like the version of gcc you're using doesn't know about the sb1. Are you using the tools from SiByte?
-Justin