path: root/README.cross
diff options
authorMatúš Kukan <>2014-01-16 15:56:30 +0100
committerMatúš Kukan <>2014-01-16 15:56:30 +0100
commitee2d7273e4f14fb867c16802e392f73590f526bc (patch)
tree180b6cc58ec760f64cdd448c5af0dc110d41764f /README.cross
parent9290998442166fae70431ee98aa9eb019bad24b3 (diff)
Update README for cross-compiling to Raspbian a bit.
Change-Id: I2741dd3304d85986389a2ae7213cdbb345c6efc6
Diffstat (limited to 'README.cross')
1 files changed, 11 insertions, 11 deletions
diff --git a/README.cross b/README.cross
index 5c565a34dea3..2d133ebe3551 100644
--- a/README.cross
+++ b/README.cross
@@ -383,11 +383,13 @@ started, run ndk-gdb.
-It's now possible to cross-compile LibreOffice for Rapsberry Pi running Raspbian.
+In theory, this should work also for another Linux, it does not need to be Raspbian.
+But this cross-compilation work is tested from Debian based system to Raspbian.
You will need Raspbian's pkg-config files and system libraries to build against.
-Available at
-$ wget
-$ tar -axf raspbian_rootfs.tar.bz2
+Available at
+$ wget
+$ tar -xf raspbian_rootfs.tar.bz2
You can build cross-compiler yourself or get the executables here:
$ git clone git://
@@ -415,8 +417,7 @@ CC=<path-to-arm-linux-gnueabihf-gcc> --sysroot=<path-to-raspbian_rootfs>
CXX=<path-to-arm-linux-gnueabihf-g++> --sysroot=<path-to-raspbian_rootfs>
@@ -433,8 +434,7 @@ JAVALIB=-L<path-to-raspbian_rootfs>/usr/lib/jvm/java-6-openjdk-armhf/jre/lib/arm
Finally, when you are ready to run the binaries in Raspbian,
-you may need to get more system libraries.
-Update your /etc/apt/sources.list as described in
- and then:
-$ sudo apt-get update
-$ sudo apt-get build-dep libreoffice
+you may need to get more system libraries, who knows.
+$ sudo apt-get install libreoffice # or similar
+That installs libreoffice too, which you don't need because you have
+just built one, but I don't know how to avoid it easily.