Compile commands Cython
=======================

Remark: 
Find the header file and the library via 'locate' or a corresponding search command for files

* MacOS X: locate Python.h 
* Linux: find /usr -iname *Python*.h -->

Usually in Linux the two path are
/usr/include/python3.7m/
/usr/lib/python3.7/lib-dynload/

- Step 1 -

cython3 -3 fib_cy.pyx

- Step 2 -

gcc -O2 -fPIC -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/ -c fib_cy.c -o fib_cy.o

- Step 3 -

* MacOS X
gcc -bundle -undefined dynamic_lookup -L/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/ fib_cy.o -o fib_cy.so

* Linux
gcc -shared -L/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/ fib_cy.o -o fib_cy.so

