Re: Problem building GDB for sparc-rtems

Keith Seitz
2011-05-18T23:45:41Z

On 05/16/2011 09:34 AM, David Paterson wrote:

> This may be more appropriate for the RTEMS, or even Binutils,
> mailing lists - if so, please let me know and I'll move it over.

It might be, but let's have some fun and see if we can figure it out.

> I'm trying to build a cross-toolchain for a Sparc (Leon2) system,
> and while the basic version, configured for "sparc-elf" is no
> problem, when I try to rebuild for RTEMS I'm getting an error during
> the GDB build :-

How did you do this? Can you share your build commands? I presume you
did this in a clean build directory?

FWIW, I just built sparc-rtems on linux (Fedora 13) without incident
from the 7.2 tarball, so it should work for you, too.

Keith