diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-01-09 18:25:35 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-01-09 18:25:35 +0800 |
commit | 4e47e320e44282b93d78a4bf42101ab75a07de47 (patch) | |
tree | 1884864a96984037a64a52bbcde76ae835f66e06 | |
parent | 4c00d748c3c86cbb5039660c2a5bebac0c826386 (diff) |
Initial README
-rw-r--r-- | README.md | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..0b0ea26 --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +# libicclient + +## Overview + +Native (non-web) interface for interacting with [Interchange](https://interchangecommerce.org) servers. + +## Building + +### Getting and preparing for configuration + +```sh +$ git clone git://darapsa.org/libicclient.git +$ cd libicclient +$ autoreconf --install +``` + +### Optionally setting environment values + +```sh +$ export CFLAGS="${CFLAGS} -g -DDEBUG -DANDROID -fPIC" # PIC might be needed later on android_armv7 +$ export LDFLAGS="${LDFLAGS} -llog" # Android liblog +``` + +### Configuring for various target hosts + +```sh +$ ./configure +``` + +or + +```sh +$ CC=/usr/local/aarch64-linux-android/bin/aarch64-linux-android-clang ./configure --host=aarch64-linux-android +``` + +or + +```sh +$ CC=/usr/local/arm-linux-androideabi/bin/arm-linux-androideabi-clang ./configure --host=arm-linux-androideabi +``` + +or so on. + +### Compiling and linking + +```sh +$ make # -jN (with N an integer number of parallel tasks you allow your computer to run for compiling this) +``` |