From 4e47e320e44282b93d78a4bf42101ab75a07de47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Thu, 9 Jan 2020 18:25:35 +0800 Subject: Initial README --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 README.md 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) +``` -- cgit v1.2.3