Re: insight+dejagnu-20010417 build error on arm-elf(libgdb.a:remote-rdi.o)!

Keith Seitz
2001-04-24T11:58:00Z

On Sat, 21 Apr 2001, Cliff Tsai wrote:

> (1) Yes!libangsd.a exists.And There are some .o in my build library
> (xxx/gdb/rdi-share)
>
> (2) But I can't find any information about libangsd.a in my "make.out"
>
> (3) uname -a say=>CYGWIN_98-4.10 CLIFF 1.1.8(0.34/3/2) 2001-01-03 10:58 i586
> unknown.
> Do I need a newer version of cygwin? But I encounter another problem
> after install newer version of
> cygwin when build insight!

You must have something wrong with your build environment. I just
downloaded (again) the insight+dejagnu-weekly-20010424.tar.bz2 snapshot
from sources and built it on this system:

$ uname -a
CYGWIN_98-4.10 ANYWHERE 1.1.8(0.34/3/2) 2001-01-31 i586 unknown
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/specs
gcc version 2.95.2-6 19991024 (cygwin experimental)

I installed it, too. Ran as expected. Something is really, really wrong
with your setup.

> By the way!I wanna know can I build the insight for arm-elf that set
> big_endian as default?
> I've seen few lines in \gdb\config\arm\tm-arm.h about endian.

You don't need to do anything. Gdb will automatically switch to
big-endian if your executable is big-endian:

(gdb) show endian
The target endianness is set automatically (currently little endian)

> How can I do to set arm-elf take big_endian as default?

All you need to do is make arm-elf-gcc output big-endian code.

Keith