aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@gmail.com>2017-05-22 21:48:42 +0200
committerMichał Łyszczek <michal.lyszczek@gmail.com>2017-05-22 21:48:42 +0200
commit9f174003fc2aa639bd57800a4f9a58366a1e341a (patch)
treedfa9a929f2b1b5946f2c7ea8a3e7057ebcd69d2b /INSTALL
parentf8545ec37d611e68ff8ce4f0225aea93e0ddc5a1 (diff)
downloadlibrb-9f174003fc2aa639bd57800a4f9a58366a1e341a.tar.gz
librb-9f174003fc2aa639bd57800a4f9a58366a1e341a.tar.bz2
librb-9f174003fc2aa639bd57800a4f9a58366a1e341a.zip
added autotools files
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL36
1 files changed, 3 insertions, 33 deletions
diff --git a/INSTALL b/INSTALL
index 408447a..d987fa5 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,33 +1,3 @@
-Requirements:
-
- * libc (glibc, uclibc)
- * pthread (only if THREADS are enabled)
-
-Install locally:
-
- make && make install
-
-To install with pthread support do
-
- make THREADS=1 && make install
-
-To install to different directory do
-
- DESTDIR=/custom/dir 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
-
- $ DESTDIR=/usr/arm-none-eabi/usr make install
+./configure
+make
+make install