diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-01-13 09:07:30 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-01-13 09:07:30 +0800 |
| commit | 6327d9220485cc14689f9dea4cebc72df3c751b1 (patch) | |
| tree | 3ccdcb0e8df2ba0d0ff88879aa1536e318612c5c /README.md | |
| parent | 8274864c6fd9d434b4d013a735fe635a3726b457 (diff) | |
Initial documentation
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..7167157 --- /dev/null +++ b/README.md @@ -0,0 +1,44 @@ +# C Library for accessing [Request Tracker's REST 1.0](https://rt-wiki.bestpractical.com/wiki/REST) interface + +# Building + +## Getting and preparing for configuration + +```sh +$ git clone git://darapsa.org/librtclient.git +$ cd librtclient +$ 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) +``` |