That seemed useful, in that it works :)
However the setup script is still a little confused. If I run
[coffey@cs1$ python2.6 setup.py build_ext --
inplace
[11:33]
running build_ext
building 'cython_hello' extension
/proj/lang/SunOS.5.i386/gcc-4.3.3/bin/gcc -shared -m64 build/
temp.solaris-2.10-i86pc-2.6/cython_hello.o -lpython2.6 -o
cython_hello.so
ld: fatal: library -lpython2.6: not found
ld: fatal: File processing errors. No output written to
cython_hello.so
collect2: ld returned 1 exit status
error: command '/proj/lang/SunOS.5.i386/gcc-4.3.3/bin/gcc' failed with
exit status 1
But now if I compile the resulting c file with:
/proj/lang/SunOS.5.i386/gcc-4.3.3/bin/gcc -shared -m64 build/
temp.solaris-2.10-i86pc-2.6/cython_hello.o -o cython_hello.so
it compiles. I can then import it and it seems to work.
On Dec 3, 4:27 pm, Lisandro Dalcin <
dalc...@gmail.com> wrote: