gcc 3.3.3 and -mcpu=r2000: bad value for -mcpu= switch

Augusto Jun Devegili freebsd at devegili.org
Fri Mar 19 03:56:30 PST 2004


Hi all,

I'd like to generate MIPS code from gcc. I've tried

$ gcc test01.c -o test01 -mcpu=r2000

and this is the error message I got

cc1: error: bad value (r2000) for -mcpu= switch

I'm using gcc (GCC) 3.3.3 [FreeBSD] 20031106 in a FreeBSD 5.2-CURRENT
i386 box.

Any ideas?

TIA and regards,

Augusto



More information about the freebsd-questions mailing list