[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems building gdb debugger with SIS simulator for Sparc ERC32
- Date: Tue, 05 Oct 1999 13:34:01 +0200
- From: julienb at hathor.cst.cnes.fr (Julien BEERNAERT)
- Subject: Problems building gdb debugger with SIS simulator for Sparc ERC32
Jiri Gaisler wrote:
> You can download a pre-built compiler system (gcc/gnat/rtems/gdb/sis)
> for ERC32 from http://www.estec.esa.nl/wsmwww/erc32/freesoft.html
I already use this distribution but my goal is to use the GNAT/RTEMS
cross compiler system for multiple Sparc targets. Then, I have to get
familiar in building "from scratch" such environment.
I have followed the instructions in "GNAT/RTEMS getting started"
document edition 4.0.0 from Oarcorp. I succeed in getting my cross
compiler system for ERC32 in my $HOME tree including the tools gcc,
gnat, rtems, gdb, sis. Unfortunately, I can't build the cross gdb
debugger with SIS interface (called by the gdb command "target sim"). My
gdb tool doesn't recognize the command "target sim". Moreover the target
of my gdb version is "sparc-rtems" and not "sparc-erc32-aout" like
If I try to launch manually the build of the gdb tool to override the
target definition I got several errors during the link stage.
$ ../gdb-4.17/configure --target=sparc-erc32-aout \
$ gmake all install
ld: fatal: symbol `aout_32_translate_symbol_table' is multiply defined:
(file ../bfd/libbfd.a(aout32.o) and file
Can you tell me how has been built your gdb tool (with sis interface) ?
Is there an update or an addendum to the official documents which will
explain me how to do this.
I hope you understand my goals despite my poor english language.