From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) by sourceware.org (Postfix) with ESMTPS id D877C3858025 for ; Sun, 25 Oct 2020 05:17:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D877C3858025 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id WYPUkvyUERAWfWYPVkHwBB; Sat, 24 Oct 2020 23:17:41 -0600 X-Authority-Analysis: v=2.4 cv=P9aEOgMu c=1 sm=1 tr=0 ts=5f950a75 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 Reply-To: cygwin@cygwin.com Subject: Re: Unable to extract GMP version information from gmp_version :mingw To: cygwin@cygwin.com References: <2111881895.3069057.1603601059475.ref@mail.yahoo.com> <2111881895.3069057.1603601059475@mail.yahoo.com> From: Brian Inglis Autocrypt: addr=Brian.Inglis@SystematicSw.ab.ca; prefer-encrypt=mutual; keydata= mDMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePa0 LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT6IlgQTFggA PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDLg4BF6KcfMSCisGAQQBl1UB BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAeIfgQYFggAJhYhBMM5 /lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5 RSyTY8X+AQ== Organization: Systematic Software Message-ID: Date: Sat, 24 Oct 2020 23:17:40 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <2111881895.3069057.1603601059475@mail.yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfOp3ujbaxJpllB5ut/hlk1zeSK5FNs6RUhVW5NM8H6SNFsZhjDO+FNIG+G6VbBcxj+tivERxG3VTYxuG/xFmU9JIb9peMt8Eqz/aK94oBUR5S80XhkMd mAy7gANwOv3ooeSVWFy9yrwGwnTOaKHl0HkIVF6xlNT6FvGb/2ef7spNAdCz9b/5GgvruXsXMHVTcUyuJ4aXnY9fXPPJ3hLg9qU= X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2020 05:17:43 -0000 On 2020-10-24 22:44, Jim McNamara via Cygwin wrote: > I am experimenting with mingW64 with cygwin. > My ./configure looks like this: > $ echo $LD_LIBRARY_PATHC:/cygwin/lib > $ ./configure --prefix=/home/user/cobol-3.1-rc1 --host=x86_64-w64-mingw32 > checking for gmp... nochecking for libgmp... nochecking gmp.h usability... yeschecking gmp.h presence... yeschecking for gmp.h... yeschecking for gmp.h... (cached) yeschecking if linking against libgmp with "-lgmp" works... yeschecking matching GMP version... configure: error: Unable to extract GMP version information from gmp_version > I installed the gmp package for mingw64. I went in and installed libgmp mingW64 package and the headers for in devel section of the cygwin installer. > I have the file libgmp.dll.a in c:/cygwin/lib > Please let me know if there is anything i can do to get past this error. Please figure out how to copy and paste including line terminators, or paste into an editor and reformat before pasting into email. You should normally be building in a directory e.g build, separate from that in which configure resides e.g. $ mkdir build $ cd build $ ../src/configure ... in which you should find config.log which should show all the details of all the programs generated and run to check all the features required and all the results from those runs. I have found it useful if not necessary to install libgmp-devel with mingw64-{x86_64,i686}-gmp, pkg-config with mingw64-{x86_64,i686}-pkg-config, and similarly with other packages required for cross-builds. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]