X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=X2PiTZBJi3xMaPem7hWBg4QmF1o1l2dGbik53RdBnt0 EL88De8P4bruJamA+4mdMLzDHh6IoY5VfegAu5NoDB7pSKBkTaLQ0hmSAfx+/KGV 0BTatNloE05bZS4QD0Zg+ruSVBOaPaCZneDjqhk9Gi9dZfYddwred9QCQc8L6kbk = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; s=default; bh=u9OjFfhupEiGsnrEOGQydg/LINc=; b=J5kfpDu1gY+qTCVzu iN30zDlw+CERXQPvR5SOgatDpkwE7GaszYcKO4zjC70nVhLClaPt5Xq4m1UgxQn/ rCcYIJPK94ziOrMI+kEcaPx2PCsxmjhGhzRtPWBJDbGZE3iXiJ0u/J0W+aAkUXPi IP057LND2SLWBsVWcw9HvUurCo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-12.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: conssluserg-02.nifty.com DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 007BSRYx019861 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1578396508; bh=Q7F6uf6kY/gZWaHJvTQcVdl8uXgAm5NmQEyc8kNhaNQ=; h=Date:From:To:Subject:In-Reply-To:References:From; b=slJ1ltt9Zmp45ZWLkpiPtuZ4MoQCFUWQgi50I9cdnXM7QX1Zo+JszZX5I7VFBwhqc Q0kYmhWhswRLQCY3Z+V3NDp6drrJu4ygqZYI2aasmWcwpyXtUFyU87v61rhTXooM85 l1LHHFJCCl21KGX5Y6lkehEjA5JoO97yUeMyAIOjrvk/i9a3O+pxXbdgYeuXQXq98g GKWoQF0RkX8lEHa3saBxB+RUJcHoYSONqqAMamU+utZ3ar9x0Wr4iBNWRi28JWuSay SDOvU7+KNmzyKV7bNWKR/p09cgB4v/C+g2ygSkmgHXChH2xADMFLpIfU0wQu0ggRCx EV2XaV+pYqTPg== Date: Tue, 7 Jan 2020 20:28:41 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Subject: Re: grap, anybody? Message-Id: <20200107202841.5faa2d258c6ca62538433069@nifty.ne.jp> In-Reply-To: <380-22020116213943452@M2W153.mail2web.com> References: <380-22020116213943452 AT M2W153 DOT mail2web DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On Mon, 6 Jan 2020 16:39:43 -0500 "bonhard AT uklinux DOT 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 -- 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