diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-04-04 17:43:07 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-04-04 17:43:07 +0800 |
commit | 8b16f4c890cd60b059a423cde4c60d0f3b5218cf (patch) | |
tree | f762034942ee475aff6fc966d7b4145f89344aa5 /README.md | |
parent | 711d885f0d8b6c0788bc62c0d58c44eaaf1391c9 (diff) |
Update README for building and installing shared library
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -7,6 +7,7 @@ ```sh $ git clone git://darapsa.org/librtclient.git $ cd librtclient +$ libtoolize $ autoreconf --install ``` @@ -26,19 +27,20 @@ $ ./configure or ```sh -$ CC=/usr/local/aarch64-linux-android/bin/aarch64-linux-android-clang ./configure --host=aarch64-linux-android +$ CC=/usr/local/aarch64-linux-android/bin/aarch64-linux-android-clang RANLIB=/usr/local/aarch64-linux-android/bin/aarch64-linux-android-ranlib ./configure --host=aarch64-linux-android --prefix=/usr/local/aarch64-linux-android/sysroot/usr ``` or ```sh -$ CC=/usr/local/arm-linux-androideabi/bin/arm-linux-androideabi-clang ./configure --host=arm-linux-androideabi +$ CC=/usr/local/arm-linux-androideabi/bin/arm-linux-androideabi-clang RANLIB=/usr/local/arm-linux-androideabi/bin/arm-linux-androideabi-ranlib ./configure --host=arm-linux-androideabi --prefix=/usr/local/arm-linux-androideabi/sysroot/usr ``` or so on. -## Compiling and linking +## Compiling, linking, and installing ```sh $ make # -jN (with N an integer number of parallel tasks you allow your computer to run for compiling this) +$ sudo make install ``` |