ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
Re: C/Cygwin/Python
by Jason Tishler other posts by this author
Jul 31 2001 6:18PM messages near this date
Re: C/Cygwin/Python | Re: xmlrpc via proxy
Matthew,

On Tue, Jul 31, 2001 at 04:51:41PM +0000, Matthew Turk wrote:
>  Essentially, I want to be able to use it on computers that don't run
>  Cygwin.  Is this going to work?

Most likely -- see below.

>  I certainly *don't* want to resort to
>  Visual C, since I have no idea how to operate in that environment, nor
>  do I own a copy.  I know that cygwin has the -Wno_cygwin or something
                                               ^^^^^^^^^^^

Actually, it is the -mno-cygwin option.

>  flag that'll compile without CYGWIN.DLL, but will that be sufficient
>  for compiling a python extension?

Yes, but only if your extension does not require Posix semantics (i.e.,
only the standard C runtime stuff).

IIRC, you want something like the following:

    python setup.py build_ext --compiler=cygwin

Note that I usually only build Cygwin Python extensions, so it has been
a while since I tried the above.  Hopefully, someone who regularly builds
Cygwin -mno-cygwin or Mingw extensions will chime in.

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@[...].net
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

-- 
http://mail.python.org/mailman/listinfo/python-list
Thread:
Matthew Turk
chris liechti
Jason Tishler

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved