MCF5282 GNU compiler

MCF5282 GNU compiler

Post by Alessandro Strazzè » Mon, 04 Aug 2003 02:08:27



Hi,

is there anyone who have a compiled version of the GNU compiler for
COLDFIRE processors ? I ask it because I only use Windows and CygWin
and I'm a beginner in the building gcc issues

Best Regards

/Alessandro

 
 
 

MCF5282 GNU compiler

Post by Dirk Raffe » Tue, 23 Sep 2003 02:40:57



> Hi,

> is there anyone who have a compiled version of the GNU compiler for
> COLDFIRE processors ? I ask it because I only use Windows and CygWin
> and I'm a beginner in the building gcc issues

> Best Regards

> /Alessandro

Hi,
sorry for reading your post so late!
You can download a GNU m68k/coldfire toolchain for Windows on
http://motorobots.sourceforge.net/downloads.php
I don't know if the compiler works, though. I use gcc cross compilers
only on linux hosts ;-)

Regards,
Dirk

 
 
 

1. GNU compiler for 68332 processor

 The normal m68k-coff targeted GCC has the option '-m68332'. I'm not
an expert in the differences between the members in the m68k family,
so I cannot say how well or bad 68332 is supported. Just doing some
experimentation, one founds there are differences. Here's differences
between the outputs of the (famous?) sort.c test (from Bytes in the
late 80's), compiled for 68020 (the default) and for 68332 (-m68332):

So, the only difference seems to be replacing the 'lea (12.%sp),%sp'
instruction in 68020 code with two 'addq.l' instructions...

A gcc-2.7.2 for DOS/go32 host is available at :
  ftp.lysator.liu.se/pub/msdos/gnu/gcc-dos-m68k
The default target for this is 68020/68881.  I'll try to update this,
because the docs for the tools are quite few and there is a bug
in the gcc-2.7.2 support for 68000... Perhaps making a gcc-2.7.2.3
distribution (without the Coldfire support) for DJGPP-2.01 and
emx-0.9c hosts with all the m68k libs would fill the gap with the
another release:

A gcc-2.7.2-Cygnus-970404 for Win32/cygwin32 host is available at:
  www.calm.hw.ac.uk/davidf/coldfire.htm
The default target for this is ColdFire 52xx, but can generate also
m68k code (with -m68000, -m68020,...,-m68332). The m68k libs were
still missing when I last looked...

2. which the best

3. Advice on using GNU compiler for 68302

4. win firewall

5. Help with GNU 68k cross compiler

6. Mac MIDI/Transcription total newbie questions

7. Help with GNU c compiler tools

8. Anyone here using ISDN on their Macintosh...

9. MC68008 cross/gnu/or whatever compiler!

10. needed: GNU C++ cross-compiler that runs on a PC

11. GNU Compiler For MicroSparc

12. GNU DOS to 68K compiler pre-built?

13. gnu-c cross-compiler wanted for 68k