www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/29/11:31:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_35,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A706E4F.9030200@gmail.com>
Date: Wed, 29 Jul 2009 16:44:15 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Python-devel on Windows XP build
References: <4A6FF2E2 DOT 4020908 AT gmail DOT com> <20090729151132 DOT GB2916 AT tishler DOT net> <4A706A58 DOT 1080504 AT gmail DOT com> <20090729152744 DOT GC2916 AT tishler DOT net>
In-Reply-To: <20090729152744.GC2916@tishler.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Jason Tishler wrote:
> Dave,
> 
> On Wed, Jul 29, 2009 at 04:27:20PM +0100, Dave Korn wrote:
>> Jason Tishler wrote:
>>> The following will solve the above build problem:
>>>
>>>     LDFLAGS=-L/usr/lib/python2.5/config configure
>>>
>>> Jason
>>>
>> I believe you're meant to specify LDFLAGS after the 'configure' these
>> days, i.e. as an argument to configure, not a shell variable.
>>
>> ./configure LDFLAGS=-L/usr/lib/python2.5/config < other args ... >
> 
> I wasn't aware LDFLAGS, etc. is suppose to be specified after configure.
> FWIW, I actually tried the command line above (i.e., LDFLAGS specified
> before configure) and it seemed to work.

  It does, at least most of the time, and it did used to be the standard way of
doing things, but it's deprecated now in favour of:

> $ /gnu/gcc/gcc/configure --help
> `configure' configures this package to adapt to many kinds of systems.
> 
> Usage: /gnu/gcc/gcc/configure [OPTION]... [VAR=VALUE]...
> 
> To assign environment variables (e.g., CC, CFLAGS...), specify them as
> VAR=VALUE.  See below for descriptions of some of the useful variables.

    cheers,
      DaveK

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

- Raw text -


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