MPC5634M starting point

Ralf Corsepius ralf.corsepius at rtems.org
Tue Jan 3 06:46:27 UTC 2012


On 01/03/2012 07:26 AM, Andrei Chichak wrote:

> Is there anything weird that I would have to do to configure the ppc
> version of GCC to generate appropriate code? I will be using a e200z3
> processor, whereas the 5674F uses an e200z7.
>
> I'm probably doing something wrong, but right out of the box there is a
> problem with the mpc5566evb BSP, wherein when I compile a simple printf
> hello world test program, the compile bombs with:
>
> c:/opt/rtems-4.10/bin/../lib/gcc/powerpc-rtems4.10/4.4.6/../../../../powerpc-rtems4.10/bin/ld.exe:linkcmds.mpc5566evb:3:
> warning: redeclaration of memory region `ROM'
> c:/opt/rtems-4.10/bin/../lib/gcc/powerpc-rtems4.10/4.4.6/../../../../powerpc-rtems4.10/bin/ld.exe:linkcmds.mpc5566evb:4:
> warning: redeclaration of memory region `RAM'
> c:/opt/rtems-4.10/bin/../lib/gcc/powerpc-rtems4.10/4.4.6/../../../../powerpc-rtems4.10/bin/ld.exe:linkcmds.mpc5566evb:5:
> warning: redeclaration of memory region `RAM_EXT'
> c:/opt/rtems-4.10/bin/../lib/gcc/powerpc-rtems4.10/4.4.6/../../../../powerpc-rtems4.10/bin/ld.exe:linkcmds.mpc5566evb:6:
> warning: redeclaration of memory region `NIRVANA'
> c:/opt/rtems-4.10/bin/../lib/gcc/powerpc-rtems4.10/4.4.6/../../../../powerpc-rtems4.10/bin/ld.exe:linkcmds.mpc5566evb:23:
> error: redefinition of memory region alias `REGION_TEXT'
>
> It looks like the linker files need a bit of work.

Is this with CVS-HEAD?

Building CVS-HEAD with rtems-4.10 tools is not supported. You need to to 
use the rtems-4.11 tools.

Ralf






More information about the users mailing list