From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 04:28:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9343816A4CF for ; Fri, 19 Mar 2004 04:28:42 -0800 (PST) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 581EE43D2D for ; Fri, 19 Mar 2004 04:28:42 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (fb4e0ab87f64f6be36da8a612182ac73@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203])i2JCSbjW006926; Fri, 19 Mar 2004 06:28:38 -0600 (CST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E702552145; Fri, 19 Mar 2004 04:28:34 -0800 (PST) Date: Fri, 19 Mar 2004 04:28:34 -0800 From: Kris Kennaway To: Augusto Jun Devegili Message-ID: <20040319122834.GA9041@xor.obsecurity.org> References: <1079697320.3203.7.camel@gandalf> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <1079697320.3203.7.camel@gandalf> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: gcc 3.3.3 and -mcpu=r2000: bad value for -mcpu= switch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 12:28:42 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 19, 2004 at 08:55:21AM -0300, Augusto Jun Devegili wrote: > Hi all, >=20 > I'd like to generate MIPS code from gcc. I've tried >=20 > $ gcc test01.c -o test01 -mcpu=3Dr2000 >=20 > and this is the error message I got >=20 > cc1: error: bad value (r2000) for -mcpu=3D switch >=20 > I'm using gcc (GCC) 3.3.3 [FreeBSD] 20031106 in a FreeBSD 5.2-CURRENT > i386 box. >=20 > Any ideas? gcc doesn't support all possible architectures at once, you have to compile a gcc version targetted at that architecture. There is probably a port for this, e.g. devel/mips-rtems-gcc. kris --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAWudyWry0BWjoQKURArm1AJ9ma+Gls/8Ab0qkhgI1s83Zp2Jb7wCgvPMH YTXS+Emt5gv3sZaD96Jly3U= =WtgW -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk--