diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-31 07:06:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-31 07:06:47 +0000 |
commit | b909d38dfa0fd09dcbcead07b61e5ba3fedd6f7a (patch) | |
tree | 9e5596d4838955e04968e414bdafffc7cb7117f4 /gdb/arm-linux-nat.c | |
parent | fbb23c67d66556071c459e19bc8896419bb6cfc6 (diff) | |
download | gdb-b909d38dfa0fd09dcbcead07b61e5ba3fedd6f7a.zip gdb-b909d38dfa0fd09dcbcead07b61e5ba3fedd6f7a.tar.gz gdb-b909d38dfa0fd09dcbcead07b61e5ba3fedd6f7a.tar.bz2 |
sim: erc32: fix linking against local readline on modern (ncurses) systems
The current erc32 configure script only searches for -ltermcap to provide
any termcap funcs (which readlines needs). When building against a local
readline (which is static), we hit link failures like so:
gcc ...-I/-D flags... -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':
.../readline/display.c:2486: undefined reference to 'tputs'
collect2: ld returned 1 exit status
make[2]: *** [sis] Error 1
Use AC_SEARCH_LIBS from gdb's configure.ac as suggested by Joel Brobecker
to check for additional termcap providers.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gdb/arm-linux-nat.c')
0 files changed, 0 insertions, 0 deletions