Commit graph

11 commits

Author SHA1 Message Date
Tor Lillqvist
a7098c77b3 Move the RPATH enforcement to icu4c-rpath.patch and skip that for Android
We might eventually want to use Mike Hommey's "faulty.lib" dynamic
linker (developed for Firefox on Android) to get around the Android
system dynamic linker's silly limitations. It does not like
DT_RPATH. (The Android system dynamic linker just ignores those.) So
no point putting RPATH into the ICU libs for Android.

Note that the faulty.lib linker is not usable currently because it
doesn't like the text relocations that the NDK r8 toolchain generates
for some reason. Sigh.

Change-Id: I9092c6001f0aadbb30e2682e33e7179520846f3b
2012-05-17 00:07:13 +03:00
Tor Lillqvist
5a20d2be68 "gcc-android" needs to be recognized on the build platform
Change-Id: I0f44150a31fa11afd908c3ba340d73effacfe17f
2012-05-11 16:18:52 +03:00
Caolán McNamara
5835518106 upgrade to icu 49
Change-Id: I I I I I If403ee07ef8ea654369a8faac57fa8940f90e040
2012-05-11 11:27:18 +01:00
Tor Lillqvist
e4050a653b Don't consider newer Apple compilers having "universal" byte order
I don't understand what the "universal" byte order thing tries to
say. Sure, Apple's compilers can produce fat binaries, i.e. containing
code for multiple architectures, which I guess might have differing
byte order. But I think the test for an -arch flag being present here
is backwards, surely if you specify -arch i386 for instance, then we
*know* that the byte order is little endian, not "universal".

Anyway, this broke ICU when built against MacOSX SDK 10.6 at least,
the ICU configury used wrong suffix for ICUDATA_NAME, and genbrk
failed in i18npool with a mysterious "can not initialize ICU.  status
= U_FILE_ACCESS_ERROR" message.
2011-09-28 11:41:17 +03:00
Thorsten Behrens
04b8b4fbbb Make Android cross-build working
In the spirit of 12759f67a3, change
external lib's config.sub to eat the arm-unknown-linux-androideabi
host os string. Also, permit shared libs again - seems Android can
handle those.

Added dictionaries to cross-build-toolset - idxdict is needed.

Should build up to sfx2 - some residual static lib issues there,
and in raptor.
2011-09-27 09:46:38 +02:00
Tor Lillqvist
adb5525740 Initial attempt at Android cross-compilation support
Recognize the arm-linux-androideabi "triplet". (Actually I doubt that
is a well-formed triplet at all, what are the Google people smoking?)

Allow longer lines in pkgdata.cpp as the compiler command line gets
quite long for cross-compilation to Android.

Add the proper assembly source file format for Android to pkg_genc.c
and use that.

Probably a good idea to use --disable-dyload on Android (and iOS).

Tweak gcc flags used for Android a bit to work around some Android C
header weirdness related to strictness and 64-bit types.
2011-06-11 17:50:36 +03:00
Fridrich Štrba
c0470de216 Work around a strange problem with libicudata on Mac OSX 2011-03-18 12:05:11 +01:00
Fridrich Štrba
1c3f71ec25 Make icu 4.4.2 build on Linux 2011-03-15 11:21:43 +01:00
Fridrich Štrba
222b835228 Oops 2011-03-14 13:46:37 +01:00
Fridrich Štrba
ed9b67df35 Dupplicate symbol in Windows build 2011-03-14 13:44:24 +01:00
Caolán McNamara
4c4f86df0c restore build of build patch that seem to still make sense 2011-03-11 09:03:27 +00:00