aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2015-07-08 23:43:03 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2015-07-08 23:43:03 +0100
commit0baf6a89ac67c7e5bbd32f71e26b807a1d50aab1 (patch)
tree3bdf7e8a93f31fee522063140d2a5dc78feb909a /README
parentf2499612c5594944d3e0891259859668d35c85b2 (diff)
downloadlibconfig-0baf6a89ac67c7e5bbd32f71e26b807a1d50aab1.tar.gz
Imported Upstream version 1.5
Diffstat (limited to 'README')
-rw-r--r--README72
1 files changed, 46 insertions, 26 deletions
diff --git a/README b/README
index e3def50..384f106 100644
--- a/README
+++ b/README
@@ -15,33 +15,9 @@ from C and C++.
-*-
-The config file syntax changed between versions 0.8 and 0.9. In order
-to implement all of the feature/enhancement requests in an elegant and
-self-consistent way, the configuration grammar had to be changed in a
-non-backward-compatible way. In particular, groups are now values, so
-the old syntax:
-
-group
-{
- ...
-}
-
-must now be written as:
-
-group =
-{
- ...
-};
-
-Note that the trailing semicolon, which was previously optional, is
-now required. Also note that a colon (':') can be used in place of the
-equals sign.
-
- -*-
-
Flex and Bison are not required in order to build this
-package. However, if you modify the .l or .y files, you must have Flex
-(2.5.31 or better) and Bison (2.1 or better), respectively.
+package. However, you will need them if you modify the .l or .y files. See
+the list of required build tool versions below.
-*-
@@ -56,3 +32,47 @@ to:
library_names='libstdc++.a'
(See http://trac.osgeo.org/geos/ticket/282 for more information).
+
+ -*-
+
+To cross-compile for Android:
+
+1) Create a standalone toolchain using the 'make-standalone-toolchain.sh'
+script included with the Android NDK. For example:
+
+$ /pkg/android-ndk-r9d/build/tools/make-standalone-toolchain.sh \
+ --platform=android-19 \
+ --install-dir=/pkg/android-toolchain-19 \
+ --system=linux-x86_64 \
+ --arch=arm
+
+2) Add the standalone toolchain's bin directory to the front of the path:
+
+$ export PATH=/pkg/android-toolchain-19/bin:$PATH
+
+3) Configure libconfig for cross-compilation:
+
+$ ./configure --host=arm-linux-androideabi \
+ --with-sysroot=/pkg/android-toolchain-19/sysroot
+
+4) Build libconfig
+
+$ make
+
+ -*-
+
+Build tools dependencies. (These are only required if you are a maintainer.)
+
+Autoconf 2.69
+Automake 1.14.1
+Bison 3.0.2
+Flex 2.5.39
+Libtool 2.4.2
+
+ -*-
+
+Libconfig may be found on github at https://github.com/hyperrealm/libconfig
+
+
+
+For some reason, we need to symlink /pkg/android-toolchain-19/sysroot/pkg -> /pkg