summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2015-05-18 06:24:05 -0700
committerEli Bendersky <eliben@gmail.com>2015-05-18 06:24:05 -0700
commita1334e5550b17a52d1826d0732d01f98412fd1ce (patch)
tree23d258bf18e4e0b0486777a9c0eb87a0723d1f4d
parentc5463bd43adef3206c79520812745b368cd6ab21 (diff)
downloadpycparser-a1334e5550b17a52d1826d0732d01f98412fd1ce.tar.gz
Mention new blog post and "deprecate" lcc's cpp
-rw-r--r--CHANGES5
-rw-r--r--README.rst11
-rw-r--r--utils/cpp_READ_THIS_FIRST3
3 files changed, 11 insertions, 8 deletions
diff --git a/CHANGES b/CHANGES
index 45dce11..6ffc42a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,8 @@
++ Version 2.14 (??)
+
+ TODO for this version: before releasing, remove cpp.exe and its license (and
+mentions) from pycparser.
+
+ Version 2.13 (12.05.2015)
- Added support for offsetof() the way gcc implements it (special builtin
diff --git a/README.rst b/README.rst
index a943c06..3e1e90d 100644
--- a/README.rst
+++ b/README.rst
@@ -128,13 +128,6 @@ you import the top-level ``parse_file`` function from the **pycparser** package,
it will interact with ``cpp`` for you, as long as it's in your PATH, or you
provide a path to it.
-On the vast majority of Linux systems, ``cpp`` is installed and is in the PATH.
-If you're on Windows and don't have ``cpp`` anywhere, you can use the one
-provided in the ``utils`` directory in **pycparser**'s distribution. This
-``cpp`` executable was compiled from the `LCC distribution
-<http://www.cs.princeton.edu/software/lcc/>`_, and is provided under LCC's
-license terms.
-
Note also that you can use ``gcc -E`` or ``clang -E`` instead of ``cpp``. See
the ``using_gcc_E_libc.py`` example for more details. Windows users can download
and install a binary build of Clang for Windows `from this website
@@ -156,7 +149,9 @@ the semantics of types. It only needs to know whether some token encountered in
the source is a previously defined type. This is essential in order to be able
to parse C correctly.
-See the ``using_cpp_libc.py`` example for more details.
+See `this blog post
+<http://eli.thegreenplace.net/2015/on-parsing-c-type-declarations-and-fake-headers>`_
+for more details.
Basic usage
-----------
diff --git a/utils/cpp_READ_THIS_FIRST b/utils/cpp_READ_THIS_FIRST
new file mode 100644
index 0000000..ffbf381
--- /dev/null
+++ b/utils/cpp_READ_THIS_FIRST
@@ -0,0 +1,3 @@
+This cpp.exe is deprecated, and will be removed in the next release of
+pycparser. Instead, grab a binary download of Clang for Windows from
+http://llvm.org/releases/ and use 'clang -E' to do the preprocessing.