diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2016-03-27 18:50:24 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2016-03-27 18:50:24 -0400 |
commit | c19447cb4e33e4ed6e2d8579621ed4194c9a7493 (patch) | |
tree | 72fa09159a8d8cd9462186cb2703b3fc6ff672f7 /build.txt | |
parent | f6f22c6cd3b0f52e338f969bd9b6e46aac1b0d9c (diff) | |
download | gpsd-c19447cb4e33e4ed6e2d8579621ed4194c9a7493.tar.gz |
Restore language about 2.6 portability, clean up Python imports.
Diffstat (limited to 'build.txt')
-rw-r--r-- | build.txt | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -55,9 +55,9 @@ is included at the end of this file. Necessary components for any build: |============================================================================ -|C compiler | gpsd and client library are written in C -|Python 2.x, x >= 7 | some code is generated from python scripts -|scons | for executing the build recipe +|C compiler | gpsd and client library are written in C +|Python 2.x(x>=6) or 3.y(y>=3) | some code is generated from python scripts +|scons | for executing the build recipe |============================================================================ === C compiler === @@ -66,7 +66,7 @@ C99 conformance is required in the compiler. The C code depends on one C11 feature (supported by GCC, clang, and pretty much any C compiler that also speaks C++): anonymous unions. We could eliminate these, but the cost would be source-level interface breakage if we have to -move structure members in and out of unions. +move certain structure members in and out of unions. Some portions of the code using shared-memory segments are improved by the C11 stdatomic.h features for lockless concurrency. These are: the @@ -87,7 +87,8 @@ clang produces a gpsd that passes all regression tests. === Python === -You will need Python 2.5 or later for the build. +You will need Python 2.x at minor version 6 or later or Python 3 at +at minor version 3 or later. While Python is required to build GPSD from source (the build uses some code generators in Python), it is not required to run the service |