Fwd: Unable to extract GMP version information from gmp_version :mingw

Jim McNamara nefariousscheme@gmail.com
Sun Oct 25 09:05:45 GMT 2020


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


More information about the Cygwin mailing list