delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/09/20:50:35

X-Spam-Check-By: sourceware.org
Message-ID: <44DA82C3.9080503@kleckner.net>
Date: Wed, 09 Aug 2006 17:50:11 -0700
From: Jim Kleckner <jek-cygwin1 AT kleckner DOT net>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Infinite loop in Numeric-24.2-1 for eigenvalues (Workaround)
References: <announce DOT 43D54781 DOT 9010307 AT users DOT sourceforge DOT net> <44D9E2E4 DOT 7020104 AT kleckner DOT net>
In-Reply-To: <44D9E2E4.7020104@kleckner.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Jim Kleckner wrote:
> This patch mentions:
> # Optionally, you can run
> #       python setup.py config  first. This fixes a bug in 
> LinearAlgebra on Cygwin (and possibly
> # other platforms).
>
>
> but "python setup.py config" fails to compile with the message:
> unable to execute _configtest.exe: No such file or directory
>
>
> Somehow, the optimization compiler flags are getting set to -O3 which 
> only seems to
> be set for the emx compiler platform...

Note that this was a problem on my Linux box as well.

A workaround for this problem in setup.py is to run this simple script 
to create the
config.h file that is failing (probably due to the compile flags):


gcc -fno-strict-aliasing -DNDEBUG -g  -Wall -Wstrict-prototypes 
-IInclude -IPackages/FFT/Include -IPackages/RNG/Include 
-I/usr/include/python2.4 Src/config.c -o mkconfigh
./mkconfigh
mv config.h Src


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019