NM=gnm CC=gcc CFLAGS="-DMAXPATHLEN=1024 -O6 -march=i586 -mcpu=i686 -fomit-frame-pointer" CXX=g++ CXXFLAGS="-DMAXPATHLEN=1024 -O6 -march=i586 -mcpu=i686 -fomit-frame-pointer" ./configure \
  --prefix=/usr/gnu \
  --enable-nls \
  --enable-gdbcli \
  --enable-gdbmi \
  --enable-tui \
  --with-uiout \
  --with-included-regex \
  --without-x \
  --host=i586-pc-sco3.2v5.0

sed -e 's/-ltermlib/-lcurses/' gdb/Makefile > gdb/Makefile.jkj
mv -f gdb/Makefile.jkj gdb/Makefile
