bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] compile error under windows


From: Michael Petch
Subject: Re: [Bug-gnubg] compile error under windows
Date: Sat, 18 Jul 2015 10:22:05 -0600
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0


On 2015-07-18 8:36 AM, address@hidden wrote:
> I used the next commands
>  
> cvsgetgnubg
> cd gnubg
>  
> ./autogen.sh
>  
> ./configure CFLAGS="-I/mingw/python27/include" --without-gtk
> --disable-threads
>  
> make
>  
> I checked  if python.h was missing but no it was just there
> where it should be in the dir c:/mingw/python27/include
>  
> I have compiled before and never have seen this error.
>  

I am not in a palce to try this out, but there was a change made by
another Developer lately to the file configure.ac that may be a problem.
Modify configure.ac and find this section of code and remove all the
lines from below:

dnl Compiling with -O3 makes a useful difference with gcc, clang and Sun's
dnl compiler ; -ffast-math helps as well when available.
dnl For instance, some match analysis on a Core i5 CPU (gcc 4.4.7, -mavx) :
dnl -O2             1:23
dnl -O3             1:14
dnl -O3 -ffast-math 1:11

AC_SUBST(AM_CFLAGS, "-g -O3")
if test x"$GCC" = "xyes"; then
    AX_APPEND_FLAG("-ffast-math", AM_CFLAGS)
fi


------------------

After you remove all the lines above do:

make clean
./autogen.sh
./configure CFLAGS="-I/mingw/python27/include" --without-gtk
--disable-threads
make

If this works for you let me know so that the configure.ac file can be
looked at.

>  
> Another very small thing (not really important ) when you install gnubg
> 1.05.00 (under windows)
>  
> You will get a question to create  a shortcut in the menu the name
> mentioned is
>  
> GNU 1.04.01 that should be of course 1.05.000
>  

Thanks, I'll correct that with the installer. I hadn't noticed it
previously.

-- 
Michael Petch
GNU Backgammon Maintainer / Developer
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304



reply via email to

[Prev in Thread] Current Thread [Next in Thread]