[gambit-list] Cython __cleanup() problem

David Dreisigmeyer dwdreisigmeyer at gmail.com
Wed Jan 5 12:16:56 EST 2011


Sorry, the command looked terrible.  Here they are again:


new-host:python daviddreisigmeyer$ rm *.o *.so server.c server_.c
server_setup.cnew-host:python daviddreisigmeyer$ gsc -link server.scm

new-host:python daviddreisigmeyer$ gcc -I/usr/local/Gambit-C/include/
-I/Users/daviddreisigmeyer/Programming/python -Wno-unused -O1
-fno-math-errno -fschedule-insns2 -fno-trapping-math
-fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common
-mieee-fp -c -o client.o  client.c

new-host:python daviddreisigmeyer$ gcc -I/usr/local/Gambit-C/include/
-I/Users/daviddreisigmeyer/Programming/python -Wno-unused -O1
-fno-math-errno -fschedule-insns2 -fno-trapping-math
-fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common
-mieee-fp  -c -o server.o  server.c -D___LIBRARY

new-host:python daviddreisigmeyer$ gcc -I/usr/local/Gambit-C/include/
-I/Users/daviddreisigmeyer/Programming/python -Wno-unused -O1
-fno-math-errno -fschedule-insns2 -fno-trapping-math
-fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common
-mieee-fp  -c -o server_.o  server_.c -D___LIBRARY

new-host:python daviddreisigmeyer$ gcc -shared
-I/usr/local/Gambit-C/include/
-I/Users/daviddreisigmeyer/Programming/python
-L/usr/local/Gambit-C/lib/ -lgambc -Wno-unused -O1 -fno-math-errno
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fwrapv
-fomit-frame-pointer -fno-common -mieee-fp -o libclient.so  client.o
server.o server_.o

new-host:python daviddreisigmeyer$ python server_setup.py build_ext
--inplacerunning build_ext
cythoning server_setup.pyx to server_setup.c
building 'cython_gambit_test' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-I/usr/local/Gambit-C/include
-I/Users/daviddreisigmeyer/Programming/python
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c server_setup.c -o build/temp.macosx-10.6-x86_64-2.7/server_setup.o
/usr/bin/gcc-4.2 -L/opt/local/lib -bundle -undefined dynamic_lookup
-L/opt/local/lib build/temp.macosx-10.6-x86_64-2.7/server_setup.o
-L/usr/local/Gambit-C/lib
-L/Users/daviddreisigmeyer/Programming/python -lclient -lgambc -o
/Users/daviddreisigmeyer/Programming/python/cython_gambit_test.so



More information about the Gambit-list mailing list