linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how can i compile C code for m68000 with gcc
@ 2005-03-24 19:09 ahmet fazil say
  2005-03-24 19:41 ` Johann 'Myrkraverk' Oskarsson
  0 siblings, 1 reply; 2+ messages in thread
From: ahmet fazil say @ 2005-03-24 19:09 UTC (permalink / raw)
  To: linux-assembly

Hi,
I am trying to compile C code for m680x0, but i can't.
i am using my P4 1.6ghz processor, gcc version 3.3.5 and using Debian Linux 3.

I tried
         %gcc -b68000  .....
but it gave error
         gcc-3.3: couldn't run `m68000-gcc-3.3.5': No such file or directory

than i tried
         %gcc -o filex  filex.c   -m68000
again it gave error
         cc1: error: invalid option `68000'

what must i do.

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

* Re: how can i compile C code for m68000 with gcc
  2005-03-24 19:09 how can i compile C code for m68000 with gcc ahmet fazil say
@ 2005-03-24 19:41 ` Johann 'Myrkraverk' Oskarsson
  0 siblings, 0 replies; 2+ messages in thread
From: Johann 'Myrkraverk' Oskarsson @ 2005-03-24 19:41 UTC (permalink / raw)
  To: ahmet fazil say; +Cc: linux-assembly

ahmet fazil say <ahmetfazil@gmail.com> writes:

> Hi,
> I am trying to compile C code for m680x0, but i can't.
> i am using my P4 1.6ghz processor, gcc version 3.3.5 and using Debian Linux 3.

You need a cross compiler, try to google for m68k cross compiler or
something.

Johann

-- 
This line is left blank intentionally


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

end of thread, other threads:[~2005-03-24 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-24 19:09 how can i compile C code for m68000 with gcc ahmet fazil say
2005-03-24 19:41 ` Johann 'Myrkraverk' Oskarsson

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 NNTP newsgroup(s).