Re: [Pythonmac-SIG] embedded C in MacPython

2005-10-27 Thread Ronald Oussoren
On 27-okt-2005, at 18:48, Zhi Peng wrote: > Hi! Chris > > Thanks a lot for your email. It is exactly what I would like to have. > > I use MacPython 2.3. But unfortunately, on my Mac 10.4 Tiger, they > erased all *.py file and leave all *.pyc or *.pyd file. I even can > not find include direct

Re: [Pythonmac-SIG] embedded C in MacPython

2005-10-27 Thread Bob Ippolito
On Oct 27, 2005, at 10:14 AM, Chris Barker wrote: > One other note. The system compiler for OS-X 10.4 is gcc 4.*, which > is a > bit more picky about standards compliance than gcc3.*, so some code > won't compile with it. I think Xcode tools comes with both, > however, and > there is a script

Re: [Pythonmac-SIG] embedded C in MacPython

2005-10-27 Thread Chris Barker
Zhi Peng wrote: > Hi! Chris Thanks a lot for your email. It is exactly what I would > like to have. I use MacPython 2.3. But unfortunately, on my Mac 10.4 > Tiger, Are you using the 2.3 that Apple provided? If so, I think the headers you need are there, but I don't have Tiger. If they are not the

Re: [Pythonmac-SIG] embedded C in MacPython

2005-10-27 Thread Zhi Peng
Hi! Chris   Thanks a lot for your email. It is exactly what I would like to have.   I use MacPython 2.3. But unfortunately, on my Mac 10.4 Tiger, they erased all *.py file and leave all *.pyc or *.pyd file. I even can not find include directory or headers directory on this new Mac. If MacPython i

Re: [Pythonmac-SIG] embedded C in MacPython

2005-10-27 Thread Chris Barker
Zhi Peng wrote: > I has some small program in C which is compiled as .so library in > Linux and I can directly import name_of_lib.so as a module from > python when I run it on Linux. It looks same if I just see them from > Terminal window on Mac. Did anyone compile any C code as library > called by

[Pythonmac-SIG] embedded C in MacPython

2005-10-26 Thread Zhi Peng
Hi! All   I has some small program in C which is compiled as .so library in Linux and I can directly import name_of_lib.so as a module from python when I run it on Linux. It looks same if I just see them from Terminal window on Mac. Did anyone compile any C code as library called by MacPython or f