public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: grap, anybody?
@ 2020-01-07 17:36 Fergus Daly
  2020-01-07 22:10 ` Fergus Daly
  0 siblings, 1 reply; 6+ messages in thread
From: Fergus Daly @ 2020-01-07 17:36 UTC (permalink / raw)
  To: cygwin; +Cc: Fergus Daly

>> 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=""

Thank you! This patch enabled compilation of the grap-1.45 executable for 32-bit and 64-bit Cygwin respectively.
Fergus

--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* grap, anybody?
@ 2020-01-06 21:40 bonhard
  2020-01-07  6:17 ` Brian Inglis
  2020-01-07 11:28 ` Takashi Yano
  0 siblings, 2 replies; 6+ messages in thread
From: bonhard @ 2020-01-06 21:40 UTC (permalink / raw)
  To: cygwin; +Cc: fergusd84

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?
Thank you! 


--------------------------------------------------------------------
mail2web LIVE ? Free email based on Microsoft? Exchange technology -
https://link.mail2web.com/LIVE



--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-07 22:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-07 17:36 grap, anybody? Fergus Daly
2020-01-07 22:10 ` Fergus Daly
2020-01-07 22:41   ` Marco Atzeri
  -- strict thread matches above, loose matches on Subject: below --
2020-01-06 21:40 bonhard
2020-01-07  6:17 ` Brian Inglis
2020-01-07 11:28 ` Takashi Yano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).