On Mon, 6 Jan 2020 16:39:43 -0500 "bonh...@uklinux.net" wrote: > I have a version of grap, being > grap 1.42 compiled under CYGWIN_NT-6.1 1.5.25(0.156/4/2) > compiled (guessing) more than a decade ago. It still works, which is a good > thing, because if I try to compile the current version > https://www.lunabase.org/~faber/Vault/software/grap/grap-1.45.tar.gz > with the current Cygwin provision CYGWIN_NT-10.0-WOW 3.1.2(0.340/5/3) the > process fails at make, after a successful ./configure. > However, the executable I have does NOT work under the 64-bit version of > Cygwin. > Q1 Can anybody provide a fix to compile grap 1.45 for Cygwin32? > Q2 Ditto Cygwin64 (or _any_ version of grap that works for Cygwin64)? > Q3 Failing any hints or pointers for compilation (preferred) can anybody > please provide a pointer to a grap executable that works for Cygwin64?
Try following patch. --- configure.ac.orig 2014-08-31 00:33:45.000000000 +0900 +++ configure.ac 2020-01-07 08:43:59.559103700 +0900 @@ -45,10 +45,10 @@ AC_MSG_CHECKING(if ${CXX} supports -std=c++0x) old_cxxflags="$CXXFLAGS" old_cppflags="$CPPFLAGS" -CXXFLAGS="$CXXFLAGS -std=c++0x" -CPPFLAGS="$CPPFLAGS -std=c++0x" +CXXFLAGS="$CXXFLAGS -D_XOPEN_SOURCE=700" +CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=700" AC_TRY_COMPILE([], [], [ - CX0FLAGS="-std=c++0x" + CX0FLAGS="" AC_MSG_RESULT(yes) ], [ CX0FLAGS="" -- Takashi Yano <takashi.y...@nifty.ne.jp> -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple