Greg, On Thu, Jul 05, 2001 at 05:23:58PM +1200, Greg Ewing wrote: > Is it feasible to compile a Python extension module > for Windows using Cygwin? By the above, do you mean a Win32 or Cygwin extension module? The answer is yes in either case. However, using Cygwin Python to build a Cygwin extension module is more straight forward than a Win32 one. Actually, Cygwin Python behaves the same as other Unix platforms. > I have tried this, and the linker tells me that it can't > export '_bss_start__', '_bss_end__', '_data_start__' > and '_data_end__' because they're not defined. The above is due to the fact that your extension module (i.e., DLL) is not exporting any symbols. You can rectify this problem by adding a DL_EXPORT macro to the definition of the module's initialization function. See the following for an example of the solution: http://sources.redhat.com/ml/cygwin/2001-06/msg00442.html BTW, the cygwin@cygwin.com mailing list is a more appropriate forum for this type of question. 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@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4