public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Compiling for Motorola 68360 processor
@ 2005-08-17 19:26 Joshua Karstendick
  2005-08-17 19:29 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Karstendick @ 2005-08-17 19:26 UTC (permalink / raw)
  To: gcc-help

I'm trying to compile a program for the Motorola 68360 processor. The
man page led me to believe that the `-mcpu32' option would do this.
But when I tried that, I received the following error:

cc1: error: invalid option `cpu32'

The following is output by `gcc --version':

gcc (GCC) 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)

The man page mentioned configuring the compiler, but didn't say how.
Is that what I need do? If so, how?

-- 
Joshua Karstendick

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compiling for Motorola 68360 processor
  2005-08-17 19:26 Compiling for Motorola 68360 processor Joshua Karstendick
@ 2005-08-17 19:29 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2005-08-17 19:29 UTC (permalink / raw)
  To: Joshua Karstendick; +Cc: gcc-help

Joshua Karstendick <joshdick@gmail.com> writes:

> I'm trying to compile a program for the Motorola 68360 processor. The
> man page led me to believe that the `-mcpu32' option would do this.
> But when I tried that, I received the following error:
> 
> cc1: error: invalid option `cpu32'
> 
> The following is output by `gcc --version':
> 
> gcc (GCC) 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)
> 
> The man page mentioned configuring the compiler, but didn't say how.
> Is that what I need do? If so, how?

You have a native compiler which generates code for whatever system
you are running it on--most likely some variant of the Intel i386.
What you need is a cross-compiler which generates code for the
Motorola 68360.

Read the installation documentation:
    http://gcc.gnu.org/install/

You may find it helpful to look at:
    http://kegel.com/crosstool/

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-17 19:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-17 19:26 Compiling for Motorola 68360 processor Joshua Karstendick
2005-08-17 19:29 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).