aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2012-10-07 18:53:52 +0200
committerGregor Jasny <gjasny@googlemail.com>2012-10-07 18:53:52 +0200
commitd09be1eba6598941078ad7be6748daa610d7ae4c (patch)
treef95e459f1e0e869a80c8dd7b88f1c557c5f37791 /INSTALL
parent89e07437f4fcdf4eb5d16b471217795951f21994 (diff)
buildsystem: Easse cross compiling on Debian derivates
Debian based libtool packages suffer from a cross compiling problem where the rpaths are not picked up properly. See: - https://bugs.lttng.org/issues/321 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297726 Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL8
1 files changed, 2 insertions, 6 deletions
diff --git a/INSTALL b/INSTALL
index e28a6a56..bc92d7e0 100644
--- a/INSTALL
+++ b/INSTALL
@@ -30,21 +30,17 @@ Cross Compiling:
Cross compiling has been tested with the Code Sourcery and Linaro ARM Linux
toolchain.
-Currently it is necessary to disable the generation of shared libraries.
-Othewise linking against libv4l2 might fail due to missing libv4lconvert
-symbols (due to a failure to find libv4lconvert).
-
To cross compile with the Code Sourcery toolchain run the following commands:
export PATH=/opt/arm-2009q3/bin:$PATH
export PKG_CONFIG_LIBDIR=/path/to/cross/root/lib
-./configure --host=arm-none-linux-gnueabi --without-jpeg --disable-shared
+./configure --host=arm-none-linux-gnueabi --without-jpeg
make
To cross compile with the Linaro toolchain run the following commands:
export PATH=/opt/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin:$PATH
export PKG_CONFIG_LIBDIR=/path/to/cross/root/lib
-./configure --host=arm-linux-gnueabihf --without-jpeg --disable-shared
+./configure --host=arm-linux-gnueabihf --without-jpeg
make

Privacy Policy