Paul Kinzelman wrote:
> I was having a problem trying to build and get running gdbserver 4.18
> on i386 host and arm target
First thing I would do is stick with gdb 5.0.
Second thing is what are you targeting. 5.0 supports a number of targets,
operating systems and file formats. Is it a particular board or machine on the
market or one of your own design?
arm*-*-wince-pe supports WinCE using the PE file format
arm*-*-linux* is used to support Linux on ARM machines
everything else is supported as an embedded target, for which you need to
specify the file format you are going to use (ELF, PE, COFF, etc)
What exactly are you trying to target. arm is insufficient.
> Anyway, I'm trying to build for the arm. I'm very disappointed to hear
> that not only have you discontinued support for it, but you've actually
> ripped some stuff out that used to support it.
This is incorrect. ARM is supported in version 5.0. Linux support was added in
version 5.0. Support for RiscOS was obsoleted as no one is maintaining the
code. This is what people referred to as being removed.
> The gdbserver/README is incorrect, please fix it for next release.
This is true. I'll see what can be done.
> It says to do '../../configure i386-none-lynx' and when I do that,
> I get lots of header files missing. But if I do just '../../configure'
> it works!
That is all you should have to do for a native i386 build.
> It also talks about 'Lynx', should that be Linux (which was my
> assumption and why I got into problems before)?
No, lynx is a separate target. I'm not familiar with it however.
Scott
--
Scott Bambrough - Software Engineer
REBEL.COM http://www.rebel.com
NetWinder http://www.netwinder.org