From: Mark Lodato Date: Sun, 4 Oct 2009 23:32:43 +0000 (-0400) Subject: freeze: README: fix typos and mistakes in example X-Git-Tag: 0.12.alpha0~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c7a7a3f00a4fdc8f9faba7be0831c8993bcdaeb5;p=cython.git freeze: README: fix typos and mistakes in example I mis-spelled "combinatorics", and I forgot to use the -c flag to gcc. --- diff --git a/Demos/freeze/README.rst b/Demos/freeze/README.rst index 1a6f36a1..d2165a8f 100644 --- a/Demos/freeze/README.rst +++ b/Demos/freeze/README.rst @@ -47,12 +47,12 @@ The provided Makefile creates an executable, *nCr*, using combinatorics as the "main" module. It basically performs the following (ignoring the compiler flags):: - $ cython_freeze combintorics cmath > nCr.c + $ cython_freeze combinatorics cmath > nCr.c $ cython combinatorics.pyx $ cython cmath.pyx - $ gcc nCr.c -o nCr.o - $ gcc combinatorics.c -o combinatorics.o - $ gcc cmath.c -o cmath.o + $ gcc -c nCr.c + $ gcc -c combinatorics.c + $ gcc -c cmath.c $ gcc nCr.o combinatorics.o cmath.o -o nCr Because the combinatorics module was listed first, its ``__name__`` is set