summaryrefslogtreecommitdiff
path: root/README.cross
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-09-10 16:21:30 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-09-10 16:22:21 +0300
commit886a299b028aa960c551c7d16583a54a7e1f18a9 (patch)
tree503253a39e1ffe260df4f3c52f40dd784dc7539d /README.cross
parentebc6b4118ead8319676d863d6e3cf3623a2a4942 (diff)
More updates
Change-Id: I4ae89c27dcc4a4480a2c6a4513e2d129a2fd59d0
Diffstat (limited to 'README.cross')
-rw-r--r--README.cross59
1 files changed, 23 insertions, 36 deletions
diff --git a/README.cross b/README.cross
index 45d28210376b..c57b14cd7b3f 100644
--- a/README.cross
+++ b/README.cross
@@ -374,46 +374,33 @@ And here is an autogen.lastrun for Android when cross-compiling to x86 from Linu
--with-num-cpus=6
--with-max-jobs=6
-There is no interactive end-user "app" you could run yet that would
-use LibreOffice code, but you can build some non-interactive unit
-tests and run them on the emulator (or, presumably, on a device,
-although that hasn't been tested as nobody with an actual Android
-device has worked on it yet...) The simple unit tests will succeed,
-the complex one still fails.
-
-These unit tests *are* proper "apps" from Android'd point of view, but
-they don't have any GUI and thus don't take part in the normal Android
-message passing and Android thinks they are stuck and offers to kill
-them...
-
-The activity used for these apps is in android/Bootstrap. See
-README.Android.
-
-To build the complex unit test for Calc functionality which invokes the
-"ucalc" unit test code from sc, cd to android/qa/sc and run a "make". The
-Makefile here is completely manually written, this stuff is so experimental it
-doesn't make sense yet to try to integrate with the normal gbuild mechanism.
-
-Note that lately (as of May 2012) the android/qa/sc test has not been
-maintained, and might not build cleanly.
-
-Then to run the unit test, do "make install" followed by "make
-run". You most likely want to have an "adb logcat" running in another
-window.
-
-To debug, do manually what "make run" would do, adding args "-e lo-main-delay
-20" to the command line, and when the app has started, run
-ndk-gdb. Unfortunately the gdb in NDK r7 and r8 is a bit broken, you can use
-the one in a NDK build with newer versions of gcc and gdb from
+There are a couple of (more or less) interactive apps that you can run
+on the emulator or on a device that use LibreOffice code. Look in
+android/experimental. DocumentLoader is just a testbench, really for
+code to load a document (just Weiter ones so far) and display one page
+at a time. LibreOffice4Android is what resulted from a Google Summer
+of Code project in 2012, a document viewer.
+
+There are also a couple of non-interactive unit tests that are also
+built as real "apps", only the one in android/qa/sc works to any
+extent any more.
+
+To run some of the apps, do "make install" followed by either "make
+run" or starting it from Android itself. You most likely want to have
+an "adb logcat" running in another window.
+
+To debug, do manually what "make run" would do, adding args "-e
+lo-main-delay 20" to the command line, and when the app has started,
+run ndk-gdb. That works just for the sc unit test. Unfortunately the
+gdb in NDK r7 and r8 is a bit broken, you can use the one in a NDK
+build with newer versions of gcc and gdb from
http://code.google.com/p/mingw-and-ndk/ instead.
Running strace on the unit test in progress is often useful to find
out what is going wrong. Pass something like -e lo-strace '-tt -f -e
trace=file,process,network -o /system/sc/strace.out' to the am start
-command line.
-
-The Android test app which has been exercised lately is in
-android/experimental/DocumentLoader.
+command line. This too works only for NativeActivity-based apps,
+i.e. the sc unit test.
PowerPC Mac OS X
@@ -423,7 +410,7 @@ Cross-compiling for PowerPC Mac OS X from Intel Mac OS X will probably
be easy. The APIs available should after all be closely identical to
those on Intel Mac OS X, and LibreOffice builds fine natively on
PowerPC Mac already. Only a little experimenting has been done with
-it. An autogen.lastrun looks like this:
+it. An autogen.lastrun looked like this when last tried:
CC=ccache /Xcode3/usr/bin/gcc-4.0 -arch ppc
CXX=ccache /Xcode3/usr/bin/g++-4.0 -arch ppc