This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/sim/erc32 ChangeLog configure configure.ac


CVSROOT:	/cvs/src
Module name:	src
Changes by:	vapier@sourceware.org	2011-12-31 07:06:47

Modified files:
	sim/erc32      : ChangeLog configure configure.ac 

Log message:
	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>

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/erc32/ChangeLog.diff?cvsroot=src&r1=1.39&r2=1.40
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/erc32/configure.diff?cvsroot=src&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/erc32/configure.ac.diff?cvsroot=src&r1=1.6&r2=1.7


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]