[coldfire-gnu-discuss] Invalid code generated with gcc-4.2 fo r target m68k-rtems.
'Daniel Jacobowitz'
dan at codesourcery.com
Mon Jun 25 19:21:57 UTC 2007
On Mon, Jun 25, 2007 at 03:17:16PM -0400, Kirspel, Kevin wrote:
> When I compile gcc and install it, there is no m5329 lib directory created.
> When I look at the m68k-elf releases that you guys build I see a m5329 lib
> directory. When I run GCC and specify the -mcpu=5329 option, GCC can not
> find the libraries associated with that CPU and therefore picks the 68020
> libraries as a default (I don't know if this is true but it explains why
> there is 68020 instructions in my output). How do I get GCC to compile and
> install the m5329 lib directories? By default I see the following
> processors in the lib directory
>
> M5200, m5206, m68000, m68030, m68040, m68060, mcpu32
We've only added ColdFire configurations for m68k-elf, not for
m68k-rtems. I recommend you use the m68k-elf tools, if you can. If
not, you may be able to configure gcc with --with-cpu=5329. I don't
remember if that works on m68k.
--
Daniel Jacobowitz
CodeSourcery
More information about the coldfire-gnu-discuss
mailing list