Arthur Petitpierre wrote:
Hi,^^^^^^Are you sure you are using mips gcc? If you are cross-compiling,it should normally be mips(el)-linux-gcc here
I've got an Indy whith a r46000 cpu and a Debian installed on it, and when I try to compile a new kernel (with gcc-2.95), I do 'make menuconfig', 'make dep' without any problem and when I try 'make vmlinux', I got error as following :
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.19/include -Wall -Wstrict-prototypes -Wno-trigraphs
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I /usr/src/kernel-source-2.4.19/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -mcpu=r4600 -mips2 -Wa,--trap -DKBUILD_BASENAME=main -c -o init/main.o init/main.c as: unrecognized option `-mcpu=r4600' init/main.c: In function `calibrate_delay': init/main.c:199: Internal compiler error: init/main.c:199: output pipe has been closed make: *** [init/main.o] Error 1
Any solution to fix it. Thanks, Arthur