Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2004 08:55:21 -0300
From:      Augusto Jun Devegili <freebsd@devegili.org>
To:        freebsd-questions@freebsd.org
Subject:   gcc 3.3.3 and -mcpu=r2000: bad value for -mcpu= switch
Message-ID:  <1079697320.3203.7.camel@gandalf>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1079697320.3203.7.camel>