libcurses, to avoid picking up broken select() from libcurses
on some versions of HPUX.
+Thu Dec 26 15:20:48 1996 Fred Fish <fnf@cygnus.com>
+
+ * config/pa/hppahpux.mh (TERMCAP): Always link to libc before
+ libcurses, to avoid picking up broken select() from libcurses
+ on some versions of HPUX.
+
Thu Dec 26 15:15:21 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* sparclet-rom.c: Remove includes of Unix system files.
# Host: Hewlett-Packard PA-RISC machine, running HPUX
-TERMCAP = -lcurses
+# Some versions of HPUX (10.10 for example) have a libcurses.a that contains a broken
+# select(), which if linked into gdb ahead of libc, will cause gdb to core dump on
+# startup. As a workaround, always link libc first when using libcurses.
+TERMCAP = -lc -lcurses
XM_FILE= xm-hppah.h
XDEPFILES= ser-tcp.o