Joshua Karstendick <joshdick@xxxxxxxxx> 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