xbot/include/libconfig-1.7.3
Aaron Blakely 2f3fa2af69 added Win32 support 2024-02-13 01:22:10 -06:00
..
aux-build added Win32 support 2024-02-13 01:22:10 -06:00
contrib added Win32 support 2024-02-13 01:22:10 -06:00
debian added Win32 support 2024-02-13 01:22:10 -06:00
doc added Win32 support 2024-02-13 01:22:10 -06:00
examples added Win32 support 2024-02-13 01:22:10 -06:00
lib added Win32 support 2024-02-13 01:22:10 -06:00
m4 added Win32 support 2024-02-13 01:22:10 -06:00
tests added Win32 support 2024-02-13 01:22:10 -06:00
tinytest added Win32 support 2024-02-13 01:22:10 -06:00
AUTHORS added Win32 support 2024-02-13 01:22:10 -06:00
COPYING.LIB added Win32 support 2024-02-13 01:22:10 -06:00
ChangeLog added Win32 support 2024-02-13 01:22:10 -06:00
INSTALL added Win32 support 2024-02-13 01:22:10 -06:00
Makefile.am added Win32 support 2024-02-13 01:22:10 -06:00
Makefile.in added Win32 support 2024-02-13 01:22:10 -06:00
NEWS added Win32 support 2024-02-13 01:22:10 -06:00
README added Win32 support 2024-02-13 01:22:10 -06:00
TODO added Win32 support 2024-02-13 01:22:10 -06:00
ac_config.h.in added Win32 support 2024-02-13 01:22:10 -06:00
aclocal.m4 added Win32 support 2024-02-13 01:22:10 -06:00
configure added Win32 support 2024-02-13 01:22:10 -06:00
configure.ac added Win32 support 2024-02-13 01:22:10 -06:00
libconfig.spec added Win32 support 2024-02-13 01:22:10 -06:00
libconfig.spec.in added Win32 support 2024-02-13 01:22:10 -06:00
libconfig_vs2008.sln added Win32 support 2024-02-13 01:22:10 -06:00
libconfig_vs2017.sln added Win32 support 2024-02-13 01:22:10 -06:00
test.cfg added Win32 support 2024-02-13 01:22:10 -06:00

README

To produce a PDF manual, issue the command "make pdf" after running
`./configure'.

				 -*-

If you do not wish to build the C++ components, use:

./configure --disable-cxx

				 -*-

The `examples' subdirectory contains some examples of using libconfig
from C and C++.

				 -*-

Flex and Bison are not required in order to build this
package. However, you will need them, if you modify the .l or .y files. See
the list of required build tool versions below.

				 -*-

To successfully compile using MinGW (with gcc 4.4.0 or later), it may
be necessary to modify the file "mingw32\4.4.0\libstdc++.la", changing line 11
from:

library_names='libstdc++.dll.a'

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