Commit graph

8 commits

Author SHA1 Message Date
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