[commit/sim] Add `sim_complete_command' definition to erc32 sim
Mike Frysinger
vapier@gentoo.org
Thu Jun 2 17:10:00 GMT 2011
On Wednesday, June 01, 2011 14:56:48 Joel Brobecker wrote:
> > i didnt build test it because i couldnt figure out how to even configure
> > for the target. i still dont ;).
> >
> > $ ./configure --target=erc32-elf
> > checking target system type... Invalid configuration `erc32-elf': machine
> > `erc32' not recognized
> > configure: error: /bin/sh ../../config.sub erc32-elf failed
>
> I wish we could add erc32-elf. Right now, the target is sparc-elf.
> I haven't done it because tools like config.sub don't support it yet.
> We could work on that, if it made sense.
thanks, sparc-elf got me much further. but it looks like the readline logic
in sim/erc32/configure is off because it link fails for me:
make[2]: Entering directory `/usr/local/src/gnu/sourceware/build/build-
erc32/sim/erc32'
gcc -DHAVE_CONFIG_H -DPROFILE=1 -DWITH_PROFILE=-1 -
DDEFAULT_INLINE=0 -DSTAT -DFAST_UART -DIUREV0 -DMECREV0 -I. -
I../../../../sim/erc32 -I../common -I../../../../sim/erc32/../common -
I../../include -I../../../../sim/erc32/../../include -I../../bfd -
I../../../../sim/erc32/../../bfd -I../../opcodes -
I../../../../sim/erc32/../../opcodes -g -O2 -o sis \
sis.o exec.o erc32.o func.o help.o float.o ../../bfd/libbfd.a
../../opcodes/libopcodes.a ../../libiberty/libiberty.a -lz -lnsl
../../readline/libreadline.a -lm
../../readline/libreadline.a(display.o): In function `cr':
/usr/local/src/gnu/sourceware/build/build-
erc32/readline/../../../readline/display.c:2486: undefined reference to
`tputs'
......
collect2: ld returned 1 exit status
make[2]: *** [sis] Error 1
manually tweaking the erc32 makefile to also link in -lcurses lets it get past
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110602/4a660942/attachment.sig>
More information about the Gdb-patches
mailing list