[egenix-users] mxExperimental on cygwin
Mark McEahern
marklists at mceahern.com
Mon Sep 23 16:08:21 CEST 2002
Hi, here's a patch that allowed me to build and install mxExperimental on
cygwin. I previously sent a message that is being held for moderator
approval detailing the error messages I was getting when trying to install.
I didn't do anything special when installing gmp on cygwin: I used the
latest (4.1) and simply did './configure; make; make install'.
The patch:
Index: mxEXPERIMENTAL.py
===================================================================
RCS file: /home/cvs/ysi/contrib/mxExperimental/mxEXPERIMENTAL.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -r1.1 -r1.2
*** mxEXPERIMENTAL.py 19 Sep 2002 19:36:04 -0000 1.1
--- mxEXPERIMENTAL.py 23 Sep 2002 19:59:55 -0000 1.2
***************
*** 135,140 ****
--- 135,148 ----
libraries=['gmp31'],
library_dirs=['mx/Number/mxNumber/win32']),
]
+ elif sys.platform == 'cygwin':
+ ext_modules[len(ext_modules):] = [
+
+ mx_Extension('mx.Number.mxNumber.mxNumber',
+ ['mx/Number/mxNumber/mxNumber.c'],
+ include_dirs=['mx/Number/mxNumber'],
+ libraries=['gmp']),
+ ]
else:
ext_modules[len(ext_modules):] = [
More information about the egenix-users
mailing list