Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
886a299b
Kaydet (Commit)
886a299b
authored
Eyl 10, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More updates
Change-Id: I4ae89c27dcc4a4480a2c6a4513e2d129a2fd59d0
üst
ebc6b411
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
36 deletions
+23
-36
README.cross
README.cross
+23
-36
No files found.
README.cross
Dosyayı görüntüle @
886a299b
...
@@ -374,46 +374,33 @@ And here is an autogen.lastrun for Android when cross-compiling to x86 from Linu
...
@@ -374,46 +374,33 @@ And here is an autogen.lastrun for Android when cross-compiling to x86 from Linu
--with-num-cpus=6
--with-num-cpus=6
--with-max-jobs=6
--with-max-jobs=6
There is no interactive end-user "app" you could run yet that would
There are a couple of (more or less) interactive apps that you can run
use LibreOffice code, but you can build some non-interactive unit
on the emulator or on a device that use LibreOffice code. Look in
tests and run them on the emulator (or, presumably, on a device,
android/experimental. DocumentLoader is just a testbench, really for
although that hasn't been tested as nobody with an actual Android
code to load a document (just Weiter ones so far) and display one page
device has worked on it yet...) The simple unit tests will succeed,
at a time. LibreOffice4Android is what resulted from a Google Summer
the complex one still fails.
of Code project in 2012, a document viewer.
These unit tests *are* proper "apps" from Android'd point of view, but
There are also a couple of non-interactive unit tests that are also
they don't have any GUI and thus don't take part in the normal Android
built as real "apps", only the one in android/qa/sc works to any
message passing and Android thinks they are stuck and offers to kill
extent any more.
them...
To run some of the apps, do "make install" followed by either "make
The activity used for these apps is in android/Bootstrap. See
run" or starting it from Android itself. You most likely want to have
README.Android.
an "adb logcat" running in another window.
To build the complex unit test for Calc functionality which invokes the
To debug, do manually what "make run" would do, adding args "-e
"ucalc" unit test code from sc, cd to android/qa/sc and run a "make". The
lo-main-delay 20" to the command line, and when the app has started,
Makefile here is completely manually written, this stuff is so experimental it
run ndk-gdb. That works just for the sc unit test. Unfortunately the
doesn't make sense yet to try to integrate with the normal gbuild mechanism.
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
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
http://code.google.com/p/mingw-and-ndk/ instead.
http://code.google.com/p/mingw-and-ndk/ instead.
Running strace on the unit test in progress is often useful to find
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
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
trace=file,process,network -o /system/sc/strace.out' to the am start
command line.
command line. This too works only for NativeActivity-based apps,
i.e. the sc unit test.
The Android test app which has been exercised lately is in
android/experimental/DocumentLoader.
PowerPC Mac OS X
PowerPC Mac OS X
...
@@ -423,7 +410,7 @@ Cross-compiling for PowerPC Mac OS X from Intel Mac OS X will probably
...
@@ -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
be easy. The APIs available should after all be closely identical to
those on Intel Mac OS X, and LibreOffice builds fine natively on
those on Intel Mac OS X, and LibreOffice builds fine natively on
PowerPC Mac already. Only a little experimenting has been done with
PowerPC Mac already. Only a little experimenting has been done with
it. An autogen.lastrun look
s like this
:
it. An autogen.lastrun look
ed like this when last tried
:
CC=ccache /Xcode3/usr/bin/gcc-4.0 -arch ppc
CC=ccache /Xcode3/usr/bin/gcc-4.0 -arch ppc
CXX=ccache /Xcode3/usr/bin/g++-4.0 -arch ppc
CXX=ccache /Xcode3/usr/bin/g++-4.0 -arch ppc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment