aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@gmail.com>2016-12-10 16:55:55 +0100
committerMichał Łyszczek <michal.lyszczek@gmail.com>2016-12-10 16:55:55 +0100
commit40eccbb66145cd4d69942e36c2217f66bb6c6cb0 (patch)
treed58bbf57b4085e029935f1543fd0db283b632a33 /INSTALL
downloadlibrb-40eccbb66145cd4d69942e36c2217f66bb6c6cb0.tar.gz
librb-40eccbb66145cd4d69942e36c2217f66bb6c6cb0.tar.bz2
librb-40eccbb66145cd4d69942e36c2217f66bb6c6cb0.zip
First release
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL25
1 files changed, 25 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..aba2bfa
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,25 @@
+Requirements:
+
+ * libc (glibc, uclibc)
+ * pthread
+
+Install locally:
+
+make && make install
+
+Cross Compile:
+
+To compile for different architecture 3 env variables should be set
+
+CC - cross compiler
+INC - staging include directory
+LINC - staging library directory
+
+Example make might look like this
+
+$ CC=arm-none-eabi \
+ INC=-I/usr/arm-none-eabi/usr/include \
+ LINC=-L/usr/arm-none-eabi/usr/lib \
+ make
+
+$ INSTALL_DIR=/usr/arm-none-eabi/usr make install