delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/12/08:20:12

X-Spam-Check-By: sourceware.org
Date: Mon, 12 Mar 2007 08:19:32 -0500
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: python & development
In-reply-to: <20070312005446.GG3707@interface.famille.thibault.fr>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20070312131932.GA1272@tishler.net>
MIME-version: 1.0
References: <20070312005446 DOT GG3707 AT interface DOT famille DOT thibault DOT fr>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Samuel,

On Mon, Mar 12, 2007 at 01:54:46AM +0100, Samuel Thibault wrote:
> I'd need to use pyrexc for building python bindings, is there any
> plans for including it in the cygwin distribution?  (the upstream tgz
> currently installs just fine).

Would you like to contribute this package?

> And about python, there's something odd with libpython2.4.dll.a: it is
> located in /usr/lib/python2.4/config/,

When I added shared extension support to Cygwin Python, I put
libpython2.4.dll.a in /usr/lib/python2.4/config because that was the
same directory that contains libpython2.4.a (and the other files needed
for extending/embedding) on Unix.

> unlike Linux where it is located in /usr/lib/python2.4/

Which file are you referring to on Linux?  libpython2.4.so?  If so, it
is located in /usr/lib.

> That poses problem with linking with it.  The ac_python_devel.m4 file
> shipped with autotools uses get_python_lib(0,1) from the
> distutils.sysconfig package for determining which path to give to
> gcc's -L so that gcc's -lpython2.4 can work, and that returns
> /usr/lib/python2.4 (just like in Linux).

AFAICT, Distutils sets gcc's -L correctly under Cygwin.

> Could this somehow be fixed?

But, where should this be fixed?  Cygwin Python's shared extension
support hasn't changed in a long time.  I'm afraid I'll break someone's
build, if I move libpython2.4.dll.a to another directory.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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