Merge branch 'maint'
[paraslash.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index 0f4c18b647e0e6c2fc921bbded745275458d70c7..4a814dc15833de9ff5fc014d1dae22edc1deb866 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -8,6 +8,25 @@ From git:
 
        ./autogen.sh && sudo make install
 
+Example for cross-compiling:
+
+       export CROSS_COMPILE='armv6j-hardfloat-linux-gnueabi-'
+       export PATH="/usr/cross/arm/bin:$PATH"
+       export CC=${CROSS_COMPILE}gcc
+
+       export LDFLAGS='
+               -L/usr/sysroot/arm/lib
+               -L/usr/sysroot/arm/usr/lib
+               -L/usr/sysroot/arm/usr/lib/glibc/lib
+               -L/usr/sysroot/arm/usr/local/ssl/lib
+       '
+       autoconf
+       autoheader
+       ./configure --host=arm-linux-gnueabi --prefix /usr/sysroot/arm/usr/local
+       make CROSS_COMPILE=$CROSS_COMPILE
+
 For details see the user manual:
 
+       http://people.tuebingen.mpg.de/maan/paraslash/manual.html
+or
        http://paraslash.systemlinux.org/manual.html