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
5011f4cb
Kaydet (Commit)
5011f4cb
authored
May 01, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update to match reality
Change-Id: I37ad1595613f20a8f7c8694b560bb6678c214c62
üst
d47f3192
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
17 deletions
+13
-17
README.cross
README.cross
+13
-17
No files found.
README.cross
Dosyayı görüntüle @
5011f4cb
...
@@ -31,10 +31,9 @@ below.
...
@@ -31,10 +31,9 @@ below.
Note that in the case of LibreOffice, it is uncommon to run the
Note that in the case of LibreOffice, it is uncommon to run the
configure script directly. Normally one uses the autogen.sh script.
configure script directly. Normally one uses the autogen.sh script.
The autogen.sh script saves its last command-line options used in a
The autogen.sh script reads command-line options from file called
file called autogen.lastrun. The typical way of working is to edit
autogen.lastrun if it exists. The typical way of working is to keep
this file, i.e. use it as an input file to autogen.sh and not as a
the configure parameters in that file and edit it as needed.
saved backup copy of command-line parameters.
What is so hard, then?
What is so hard, then?
...
@@ -124,7 +123,7 @@ are. It often seems a bit randomish, with copy-pasting having been
...
@@ -124,7 +123,7 @@ are. It often seems a bit randomish, with copy-pasting having been
preferred to factoring out differences.
preferred to factoring out differences.
Most of the configuration settings are maintained in the
Most of the configuration settings are maintained in the
distro-configs/LibreOfficeMinGW.conf file, so in your autogen.
lastrun
,
distro-configs/LibreOfficeMinGW.conf file, so in your autogen.
input
,
you can use:
you can use:
CC=ccache i686-w64-mingw32-gcc
CC=ccache i686-w64-mingw32-gcc
...
@@ -287,25 +286,22 @@ X. In order to be able to run and debug an app on an actual device
...
@@ -287,25 +286,22 @@ X. In order to be able to run and debug an app on an actual device
(and not just the iOS Simulator) you need to be registered in the iOS
(and not just the iOS Simulator) you need to be registered in the iOS
Developer Program.
Developer Program.
Here is an autogen.
lastrun
for iOS (device) using Xcode 4.6, on OS X 10.8:
Here is an autogen.
input
for iOS (device) using Xcode 4.6, on OS X 10.8:
CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -miphoneos-version-min=5
.0
--build=i386-apple-darwin10.7
.0
CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -miphoneos-version-min=5.
0
--host=arm-apple-darwin1
0
--enable-dbgutil
--enable-dbgutil
--enable-debug
--enable-debug
--enable-werror
--enable-werror
--with-build-platform-configure-options=--with-macosx-sdk=10.7
--with-distro=LibreOfficeiOS
For the iOS Simulator:
For the iOS Simulator:
CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -mmacosx-version-min=10.7
--build=i386-apple-darwin10.7.0
CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -mmacosx-version-min=10.7
--host=arm-apple-darwin10
--enable-ios-simulator
--enable-dbgutil
--enable-dbgutil
--enable-debug
--enable-debug
--enable-werror
--enable-werror
--with-build-platform-configure-options=--with-macosx-sdk=10.7
--with-distro=LibreOfficeiOS
Note that you will have to install autoconf and automake yourself
Note that you will have to install autoconf and automake yourself
before running autogen.sh. They are no longer included in Xcode 4.3
before running autogen.sh. They are no longer included in Xcode 4.3
...
@@ -349,7 +345,7 @@ Platform Tools, the API 14 SDK Platform and the Android Support
...
@@ -349,7 +345,7 @@ Platform Tools, the API 14 SDK Platform and the Android Support
Library. If you want to run the Android apps in the emulator, you of
Library. If you want to run the Android apps in the emulator, you of
course need an appropriate system image for that.
course need an appropriate system image for that.
Here is an autogen.
lastrun
for Android on ARM when cross-compiling
Here is an autogen.
input
for Android on ARM when cross-compiling
from Linux:
from Linux:
--build=x86_64-unknown-linux-gnu
--build=x86_64-unknown-linux-gnu
...
@@ -361,7 +357,7 @@ from Linux:
...
@@ -361,7 +357,7 @@ from Linux:
--with-android-sdk=/home/tml/adt-bundle-linux/sdk
--with-android-sdk=/home/tml/adt-bundle-linux/sdk
--with-distro=LibreOfficeAndroid
--with-distro=LibreOfficeAndroid
And here is an autogen.
lastrun
for Android on X86:
And here is an autogen.
input
for Android on X86:
--with-android-ndk=/opt/libreoffice/android-ndk-r8b
--with-android-ndk=/opt/libreoffice/android-ndk-r8b
--with-android-ndk-toolchain-version=4.6
--with-android-ndk-toolchain-version=4.6
...
@@ -419,7 +415,7 @@ _EOF
...
@@ -419,7 +415,7 @@ _EOF
$ chmod +x pkg-config-wrapper-host
$ chmod +x pkg-config-wrapper-host
This does not work with pkg-config 0.23. 0.26 is known to work.
This does not work with pkg-config 0.23. 0.26 is known to work.
And you are ready to build with autogen.
lastrun
similar to:
And you are ready to build with autogen.
input
similar to:
PKG_CONFIG=<path-to-pkg-config-wrapper-host>
PKG_CONFIG=<path-to-pkg-config-wrapper-host>
CC=<path-to-arm-linux-gnueabihf-gcc> --sysroot=<path-to-raspbian_rootfs>
CC=<path-to-arm-linux-gnueabihf-gcc> --sysroot=<path-to-raspbian_rootfs>
...
...
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