This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Python-devel on Windows XP build


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]