Is there a separate Windows package for GNUMP?

Torbjorn Granlund tg at gmplib.org
Mon Mar 25 12:15:29 CET 2013


Akhil Anilkumar Kalathungal <akhil.cet at gmail.com> writes:

  I think I cornered the issue here:
  Initially I tried to run the ./configure command from the cygwin terminal which
  created the Makefile and the executable
  gen-fac_ui.
  
That will not compile anything, and thus not create gen-fac_ui.

  However the file gen-fac_ui is an ELF 32-bit executable created for GNU/Linux
  2.6.15 and not for Windows.
  Akhil at Akhil-PC /cygdrive/c/GNU_MP_Library/gmp-5.0.5
  $ file ./gen-fac_ui
  ./gen-fac_ui: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
  dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=
  0x9046aa5e70c378323826c46f3b0cdbdd91429a4b, not stripped
  
You must have created that file at an earlier point, presumably when
compiling GMP from the same sources on a GNU/Linux system.

  For the above reason, I have to explicitly force a .exe extension with the
  executable while I try to run that.
  Like ./gen-fac_ui.exe
  
This does not make sense to me.  Unless there is some GNU/Linux
emulation built in to Cygwin.

I presume compiling GMP will work for you just like for everyone else
if you avoid mixing compiles from incompatible systems.  Further
instructions on how to compile GMP can be found in the manual.

-- 
Torbjörn


More information about the gmp-discuss mailing list