I built a cross compiler on Ubuntu 14.04 32 bit for MIPS platform before. but now I can't compile ordinary C programs with GCC. i removed and reinstalled everything but every time i get this error. as:
unrecognized option '--32'
With gcc --version
I get this:
GNU assembler 2.13.2 Copyright 2002 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `mips-dec-ultrix42'.
i dont know what to do!
gcc-4.8 --version
and/usr/bin/gcc --version
? – muru Oct 8 '14 at 16:29gcc
instead ofas
. – David Foerster Oct 8 '14 at 17:47