mirror of https://github.com/python/cpython
Fix typo in embedding doc and update examples to 3.3.
This commit is contained in:
parent
80bc00f582
commit
ecf0851809
|
@ -285,14 +285,14 @@ be directly useful to you:
|
||||||
* ``pythonX.Y-config --cflags`` will give you the recommended flags when
|
* ``pythonX.Y-config --cflags`` will give you the recommended flags when
|
||||||
compiling::
|
compiling::
|
||||||
|
|
||||||
$ /opt/bin/python3.2-config --cflags
|
$ /opt/bin/python3.3-config --cflags
|
||||||
-I/opt/include/python3.2m -I/opt/include/python3.2m -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
|
-I/opt/include/python3.3m -I/opt/include/python3.3m -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
|
||||||
|
|
||||||
* ``pythonX.Y-config --ldflags`` will give you the recommended flags when
|
* ``pythonX.Y-config --ldflags`` will give you the recommended flags when
|
||||||
linking::
|
linking::
|
||||||
|
|
||||||
$ /opt/bin/python3.2-config --ldflags
|
$ /opt/bin/python3.3-config --ldflags
|
||||||
-I/opt/lib/python3.2/config-3.2m -lpthread -ldl -lutil -lm -lpython3.2m -Xlinker -export-dynamic
|
-L/opt/lib/python3.3/config-3.3m -lpthread -ldl -lutil -lm -lpython3.3m -Xlinker -export-dynamic
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
To avoid confusion between several Python installations (and especially
|
To avoid confusion between several Python installations (and especially
|
||||||
|
|
Loading…
Reference in New Issue