delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/05/22:05:06

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sun, 5 Aug 2001 22:04:48 -0400
From: Jason Tishler <jason AT tishler DOT net>
To: Peter Bienstman <Peter DOT Bienstman AT rug DOT ac DOT be>
Cc: cygwin AT sources DOT redhat DOT com
Subject: Re: building Python extension modules - crash on import
Message-ID: <20010805220448.B496@dothill.com>
Mail-Followup-To: Peter Bienstman <Peter DOT Bienstman AT rug DOT ac DOT be>,
cygwin AT sources DOT redhat DOT com
Mime-Version: 1.0
In-Reply-To: <006101c11c2c$a49ee4e0$0454c19d@intec.rug.ac.be>
User-Agent: Mutt/1.3.18i
Organization: Dot Hill Systems Corp.

Peter,

On Fri, Aug 03, 2001 at 04:57:39PM +0200, Peter Bienstman wrote:
> To follow up on my own post, I've noticed that Python distutils under Cygwin
> does not link to /usr/bin/libpython2.1.dll, but rather
> to -L/usr/lib/python2.1/config -lpython2.1, which is a different library.

Yes, but /usr/lib/python2.1/config/libpython2.1.dll.a is just the import
library for /usr/bin/libpython2.1.dll.  One should preference linking
against the import library to direct linking against the DLL.

> Anyway, when I try this new approach, the linking stage fails due to extra
> leading underscores in object files. Since this is the same problem as in
> http://www.cygwin.com/ml/cygwin/2001-07/msg01699.html , I'll append what
> I've done and my problems to that thread.

If you can refer me to a self contained (i.e. not dependent on other
libraries, etc.) Python C++ extension, then I'm willing to fiddle around
with it.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: jason AT tishler DOT net
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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