This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Support for the MIPs 32 M4k Architecture ?
- From: Ian Lance Taylor <iant at google dot com>
- To: Jason White <whitewaterssoftwareinfo at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 27 Jun 2011 16:25:01 -0700
- Subject: Re: GCC Support for the MIPs 32 M4k Architecture ?
- References: <BANLkTinb-eJ8waLih3Qi+czWfRHRTK8KDA@mail.gmail.com> <BANLkTi=UXObsE=JX71uzugFnBkjp7T4aRA@mail.gmail.com>
Jason White <whitewaterssoftwareinfo@gmail.com> writes:
> Hello I am curious as to weather GCC supports the MIPs 32 M4k
> architecture (didn't see enough in the man page confirm or deny that
> it could do it).
Yes, gcc supports the M4k. See the -march and -mtune MIPS-specific
options.
> What command line options are required to invoke a
> compilation for this architecture and does anyone know if there would
> be an incompatibilities with the PIC32MX320F032H
> (http://ww1.microchip.com/downloads/en/DeviceDoc/61143G.pdf) which is
> based off of the MIPs 32 m4k architecture.
The command line options would be -march=m4k and/or -mtune=m4k
(depending on what you want to do). I have no idea about any
incompatibilities.
Ian