Hi,
I've been following the instructions in the FAQ on linux-mips.org but when I
go to compile ecgs-1.1.2, half way through I get this error:
as: unrecognized option `-O2'
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/home/adam/toinstall/egcs-1.1.2/gcc'
I can post more of the error messages if you need them. I tried upgrading my
host binutils as well, but that didn't make a difference. If I run
"mips-linux-as -O2" it works, but just "as -O2" gives that same error.
They're both the same versions now:
$ as -v -O2
GNU assembler version 2.14 (i686-pc-linux-gnu) using BFD version 2.14 20030612
as: unrecognized option `-O2'
$ mips-linux-as -v -O2
GNU assembler version 2.14 (mips-linux) using BFD version 2.14 20030612
Does anyone know how to fix this problem?
Thanks,
Adam.
|