This is the mail archive of the cygwin@cygwin.com 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]

Re: building Python extension modules - crash on import


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@tishler.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/


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