Skip to content

Instantly share code, notes, and snippets.

@limingjie
Created April 24, 2015 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save limingjie/781cfd0124b4091f5d26 to your computer and use it in GitHub Desktop.
Save limingjie/781cfd0124b4091f5d26 to your computer and use it in GitHub Desktop.
Build ncurses 5.9 with MinGW

#Build ncurses 5.9 with MinGW

  • Download
http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
  • Modify Code
ncurses-5.9\ncurses\lib_keyname.c
line 174/282/284/316, remove newline before \0.
  • Build
$ ./configure \
    --prefix=/mingw \
    --without-cxx-binding \
    --without-ada \
    --enable-warnings \
    --enable-assertions \
    --enable-reentrant \
    --with-debug \
    --with-normal \
    --disable-home-terminfo \
    --enable-sp-funcs \
    --enable-term-driver \
    --enable-interop
$ make
$ make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment