Cygwin compilation

Fabrice Rouillier Fabrice.Rouillier at inria.fr
Sun May 7 00:31:55 CEST 2006


Hi,

I have tested gmp-4.2.1 on a machine with an up-to-date version of cygwin
installed on a pentium IV 3.2 running an up-to-date version of windows XP
"professional"

I configure gmp-4.2.1 with the command line 

./configure --prefix=${HOME}/Local CFLAGS=-mno-cygwin

The configure scripts outputs some warnings about the following file
(missing or "can not be compiled")

dlfcn.h: 
langinfo.h
sys/mman.h
sys/times.h
readline/readline.h
readline/history.h


Nevertheless I still run the "make"

Mpn, Mpz,Mpq compile.

Mpf compilation blocks while compiling set_str.c since the compiler does not
find the file langinfo.h

I have corrected the problem by 
removing #define HAVE_LANGINFO_H 1 in the config.h file

Finally the package can fully be compiled and seems to work (make check is
ok)

Fabrice.




More information about the gmp-bugs mailing list