* Unable to extract GMP version information from gmp_version :mingw [not found] <2111881895.3069057.1603601059475.ref@mail.yahoo.com> @ 2020-10-25 4:44 ` Jim McNamara 2020-10-25 5:17 ` Brian Inglis 2020-10-25 8:00 ` Achim Gratz 0 siblings, 2 replies; 6+ messages in thread From: Jim McNamara @ 2020-10-25 4:44 UTC (permalink / raw) To: cygwin HI all- 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. thanks,roboloki ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to extract GMP version information from gmp_version :mingw 2020-10-25 4:44 ` Unable to extract GMP version information from gmp_version :mingw Jim McNamara @ 2020-10-25 5:17 ` Brian Inglis 2020-10-25 8:00 ` Achim Gratz 1 sibling, 0 replies; 6+ messages in thread From: Brian Inglis @ 2020-10-25 5:17 UTC (permalink / raw) To: cygwin 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.] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to extract GMP version information from gmp_version :mingw 2020-10-25 4:44 ` Unable to extract GMP version information from gmp_version :mingw Jim McNamara 2020-10-25 5:17 ` Brian Inglis @ 2020-10-25 8:00 ` Achim Gratz 2020-10-25 8:12 ` Fwd: " Jim McNamara 1 sibling, 1 reply; 6+ messages in thread From: Achim Gratz @ 2020-10-25 8:00 UTC (permalink / raw) To: cygwin Jim McNamara via Cygwin writes: > I am experimenting with mingW64 with cygwin. Have you ever used a cross-compilation toolchain before? > My ./configure looks like this: > $ echo $LD_LIBRARY_PATHC:/cygwin/lib Not sure what you are trying to achieve there, but even if it was working it would be wrong. > $ ./configure --prefix=/home/user/cobol-3.1-rc1 --host=x86_64-w64-mingw32 Is your configure script set up to actually work with cross-compilation? Your output doesn't seem to contain any notion of the configury checking the cross toolchain. > I installed the gmp package for mingw64. Correct. > I went in and installed libgmp mingW64 package and the headers for in > devel section of the cygwin installer. Whatever devel package you found there is most likely for Cygwin, but it's hard to know without the package name. The mingw64-* packages are all standalone devel packages, only the Cygwin packages are split into runtime and devel. > I have the file libgmp.dll.a in c:/cygwin/lib That's not the link library for MingW, but for Cygwin. > Please let me know if there is anything i can do to get past this error. Maybe you look at some of the cross-compiled stuff in Cygwin and take it from there? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada ^ permalink raw reply [flat|nested] 6+ messages in thread
* Fwd: Unable to extract GMP version information from gmp_version :mingw 2020-10-25 8:00 ` Achim Gratz @ 2020-10-25 8:12 ` Jim McNamara 2020-10-25 9:05 ` Jim McNamara 0 siblings, 1 reply; 6+ messages in thread From: Jim McNamara @ 2020-10-25 8:12 UTC (permalink / raw) To: Cygwin Thanks Achim. I fixed the ld_library_path. I was wondering about the tip you gave me on devel packages not being split from runtime in mingw. Now I know for sure. I since added the bin directory to path for the mingw files for the x64 directory. Very cool. I have to crash now. I will work on this later today. Have a good night. Roboloki ---------- Forwarded message --------- From: Achim Gratz <Stromeko@nexgo.de> Date: Sun, Oct 25, 2020, 4:01 AM Subject: Re: Unable to extract GMP version information from gmp_version :mingw To: <cygwin@cygwin.com> Jim McNamara via Cygwin writes: > I am experimenting with mingW64 with cygwin. Have you ever used a cross-compilation toolchain before? > My ./configure looks like this: > $ echo $LD_LIBRARY_PATHC:/cygwin/lib Not sure what you are trying to achieve there, but even if it was working it would be wrong. > $ ./configure --prefix=/home/user/cobol-3.1-rc1 --host=x86_64-w64-mingw32 Is your configure script set up to actually work with cross-compilation? Your output doesn't seem to contain any notion of the configury checking the cross toolchain. > I installed the gmp package for mingw64. Correct. > I went in and installed libgmp mingW64 package and the headers for in > devel section of the cygwin installer. Whatever devel package you found there is most likely for Cygwin, but it's hard to know without the package name. The mingw64-* packages are all standalone devel packages, only the Cygwin packages are split into runtime and devel. > I have the file libgmp.dll.a in c:/cygwin/lib That's not the link library for MingW, but for Cygwin. > Please let me know if there is anything i can do to get past this error. Maybe you look at some of the cross-compiled stuff in Cygwin and take it from there? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 6+ messages in thread
* Fwd: Unable to extract GMP version information from gmp_version :mingw 2020-10-25 8:12 ` Fwd: " Jim McNamara @ 2020-10-25 9:05 ` Jim McNamara 0 siblings, 0 replies; 6+ messages in thread From: Jim McNamara @ 2020-10-25 9:05 UTC (permalink / raw) To: Cygwin Hi Brian and Achim, I built gnucobol with cygwin and mingw. I may not need cross compiling. I read that the permissions are easier to deal with in mingw so I got out the mingw tools. I thought that I'd try out deploying a program under mingw with cygwin outside cygwin without the permission issues i ran into with posix/windows. Thanks, Roboloki ---------- Forwarded message --------- From: Jim McNamara <nefariousscheme@gmail.com> Date: Sun, Oct 25, 2020, 4:12 AM Subject: Fwd: Unable to extract GMP version information from gmp_version :mingw To: Cygwin <cygwin@cygwin.com> Thanks Achim. I fixed the ld_library_path. I was wondering about the tip you gave me on devel packages not being split from runtime in mingw. Now I know for sure. I since added the bin directory to path for the mingw files for the x64 directory. Very cool. I have to crash now. I will work on this later today. Have a good night. Roboloki ---------- Forwarded message --------- From: Achim Gratz <Stromeko@nexgo.de> Date: Sun, Oct 25, 2020, 4:01 AM Subject: Re: Unable to extract GMP version information from gmp_version :mingw To: <cygwin@cygwin.com> Jim McNamara via Cygwin writes: > I am experimenting with mingW64 with cygwin. Have you ever used a cross-compilation toolchain before? > My ./configure looks like this: > $ echo $LD_LIBRARY_PATHC:/cygwin/lib Not sure what you are trying to achieve there, but even if it was working it would be wrong. > $ ./configure --prefix=/home/user/cobol-3.1-rc1 --host=x86_64-w64-mingw32 Is your configure script set up to actually work with cross-compilation? Your output doesn't seem to contain any notion of the configury checking the cross toolchain. > I installed the gmp package for mingw64. Correct. > I went in and installed libgmp mingW64 package and the headers for in > devel section of the cygwin installer. Whatever devel package you found there is most likely for Cygwin, but it's hard to know without the package name. The mingw64-* packages are all standalone devel packages, only the Cygwin packages are split into runtime and devel. > I have the file libgmp.dll.a in c:/cygwin/lib That's not the link library for MingW, but for Cygwin. > Please let me know if there is anything i can do to get past this error. Maybe you look at some of the cross-compiled stuff in Cygwin and take it from there? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <1593712335.3089083.1603612043638.ref@mail.yahoo.com>]
* thanks Brian! MinGW/cygwin. Have a cool weekend :-) [not found] <1593712335.3089083.1603612043638.ref@mail.yahoo.com> @ 2020-10-25 7:47 ` Jim McNamara 2020-10-25 16:19 ` Unable to extract GMP version information from gmp_version :mingw Brian Inglis 0 siblings, 1 reply; 6+ messages in thread From: Jim McNamara @ 2020-10-25 7:47 UTC (permalink / raw) To: cygwin I got past the error message on configuring. I am trying to get past an error in the Makefile now. I posted it to gnucobol and am seeing if they can assist. It has something to do with a default.conf file is missing in one of the source directories. I found the button for plain text mode in yahoo. I will read up on cross compiling in the next day or two. I don't know what packages to install for that in cygwin. I get : cross compiling ... no. They seem really interested in gnucobol with mingw related questions. Thanks for all of your help this weekend. roboloki ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to extract GMP version information from gmp_version :mingw 2020-10-25 7:47 ` thanks Brian! MinGW/cygwin. Have a cool weekend :-) Jim McNamara @ 2020-10-25 16:19 ` Brian Inglis 0 siblings, 0 replies; 6+ messages in thread From: Brian Inglis @ 2020-10-25 16:19 UTC (permalink / raw) To: cygwin On 2020-10-25 01:47, Jim McNamara via Cygwin wrote: > I got past the error message on configuring. > > I am trying to get past an error in the Makefile now. > > I posted it to gnucobol and am seeing if they can assist. It has something to do with a default.conf file is missing in one of the source directories. > > I found the button for plain text mode in yahoo. > > I will read up on cross compiling in the next day or two. I don't know what packages to install for that in cygwin. I get : cross compiling ... no. > > They seem really interested in gnucobol with mingw related questions. > > Thanks for all of your help this weekend. In this case, "cross-compiling" just means using the mingw gcc compilers to produce native Windows exes that require only Windows dlls, rather than Cygwin POSIX exes that need the Cygwin dll to run. -- 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.] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-10-25 16:19 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <2111881895.3069057.1603601059475.ref@mail.yahoo.com> 2020-10-25 4:44 ` Unable to extract GMP version information from gmp_version :mingw Jim McNamara 2020-10-25 5:17 ` Brian Inglis 2020-10-25 8:00 ` Achim Gratz 2020-10-25 8:12 ` Fwd: " Jim McNamara 2020-10-25 9:05 ` Jim McNamara [not found] <1593712335.3089083.1603612043638.ref@mail.yahoo.com> 2020-10-25 7:47 ` thanks Brian! MinGW/cygwin. Have a cool weekend :-) Jim McNamara 2020-10-25 16:19 ` Unable to extract GMP version information from gmp_version :mingw Brian Inglis
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).