Commit graph

187 commits

Author SHA1 Message Date
Jonathan Adams
850e9faa2d icu: add patch for Solaris/GCC
Change-Id: I070b878b9275884e1ad0db3bb07483a3451682fb
2012-06-21 22:16:50 +02:00
Matúš Kukan
1cb5fa76a8 bin icuversion.mk, set the variables in configure
Change-Id: Ife00d7477dacfe1eb325c722517fb038ead083db
2012-05-29 07:35:25 +02:00
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
Caolán McNamara
c7f60050da restore this, problem was ever-growing PATH for incremental builds
which is hopefully fixed by b0b92d1e5f

Change-Id: I237381609b132666083fd0ff159625770e0db243
2012-05-16 12:04:10 +01:00
Fridrich Štrba
e062c50b19 Comment this one because it randomly breaks Windows build
Change-Id: I3f00ab7149d6d198292d63ed3f16b213b39a3054
2012-05-14 22:34:34 +02:00
Caolán McNamara
2068144fdc ensure freshly built icu headers are newer than previous headers
Change-Id: I Icf78937810e1d8ac646805d9f523a4149f45acb5
2012-05-13 09:50:42 +01:00
Tor Lillqvist
4134d6df2d Must prepend uconfig.h.prepend to uconfig.h when using --with-library-suffix
Change-Id: I201292765bd8514749757f84c55ffaec68e03a6b
2012-05-11 16:40:15 +03:00
Tor Lillqvist
f9b5e3d8ce Fix copy/pasted comment
Change-Id: I I782827cfaf58e6eb4f6f3f8cd4159a0f787a7024
2012-05-11 16:20:01 +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
Tor Lillqvist
95a8ac4f5a The timezone variable is called just that on Android
Change-Id: Icd3f13bec24227174b3698ed26f97d8c55d892ff
2012-05-11 16:18:51 +03:00
Tor Lillqvist
a973651de8 No <langinfo.h> for Android
Change-Id: I8063d5524b34177d77500069c85a3ae718fa5422
2012-05-11 16:18:51 +03:00
Caolán McNamara
9590650af7 gcc atomics only definitely available >= gcc 4.4.4
Change-Id: I77580411eabe4375d86670debb4a5770f7873c14
2012-05-11 13:40:50 +01:00
Caolán McNamara
bdbd8d8084 bodge MacOSX harder
Change-Id: If5a3afa4fea10e95cc52a7411f91ee86bea2b54c
2012-05-11 13:24:53 +01:00
Caolán McNamara
4fc79b3551 try and bodge macosx 10.4 build
Change-Id: Ic862cbfcdc1742d905a59862e63742b581752bfe
2012-05-11 12:26:15 +01: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
Caolán McNamara
5386b7633d configure icu for windows via runConfigureICU Cygwin/MSVC
which should hopefully
a) work
b) unblock the upgrade path for icu

Change-Id: Ic70a627f3135e53016a4f9cfdef3fc85d55ab3e4
2012-05-10 12:19:09 +01:00
Thomas Collerton
9520dbf59f EasyHack fdo#42783: get rid of CPU define/build system variable
Change-Id: I6a178f7ff9c8306e15bcfa847ad1e5e4f8476504
2012-05-09 16:31:31 +02:00
Caolán McNamara
44f8c0e1fc fix typo
Change-Id: I2becc370331e979987b34dbfff25ac4eddd9b067
2012-05-02 11:35:10 +01:00
Caolán McNamara
022f7f0c25 can use -O2 without -fstrict-aliasing for icu
Change-Id: I9841adb2e17e11c32823ac9e438bae824d30599e
2012-05-02 11:20:33 +01:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Luboš Luňák
ff5a80024a fix icu parallel build 2012-03-17 09:21:11 +01:00
Stephan Bergmann
7c4f2ec8a7 Simplify install name handling for external libraries on Mac OS X
...by allowing our special @___... tokens anywhere within an install name,
so that external modules can configure --prefix=/@___... etc.  This removes
the need for the special extshl and EXTRPATH=LOADER.  Also, a new
OUT2BIN_NONE can be used for external modules where the generated libraries
need the default EXTRPATH=OOO, but generated executables are only used
during the build and such need RPATH=NONE.
2012-02-29 18:46:38 +01:00
Rene Engelhard
f42948d0df fix icu build on arm
(from http://patch-tracker.debian.org/patch/series/view/icu/4.4.1-7/arm-assembler.patch)
2012-02-17 16:40:46 +01:00
Josh Heidenreich
b469be0723 Added and improved READMEs for modules in libs-extern-sys 2012-02-09 18:23:49 +01:00
Caolán McNamara
7c21df4eb3 typo in .IF 2012-01-10 13:14:53 +00:00
Norbert Thiebaud
9bbb628e1b oops use == not = in dmake conditional 2012-01-02 09:43:27 -06:00
Norbert Thiebaud
77b7bd9b36 ICU relying on undef is not viable in cross-compile scenario 2012-01-02 06:21:01 -06:00
Tor Lillqvist
7d3c674a04 Abandon attempt to use the debug CRT in a dbgutil build 2011-12-20 18:08:08 +02:00
Caolán McNamara
cf5d0e20f2 Resolves: CVE-2011-4599 2011-12-12 12:44:34 +00:00
Tor Lillqvist
f62c8ecdfc Use -fno-omit-frame-pointer for Android (no idea if essential) 2011-11-21 18:21:49 +02:00
Tor Lillqvist
27f585b6b5 Link with -lgnustl_shared for Android 2011-11-21 15:48:54 +02:00
Tor Lillqvist
8a3ea757c3 Use --with-library-suffix=lo for Android to avoid clash with system ICU 2011-11-21 15:48:53 +02:00
Tor Lillqvist
190ddfcdb2 Don't use any major version soname suffix for Android
But... the names our ICU libraries get built as clash exactly with
Android's system ICU library names, predictably leading to chaos. I
will have to come up with a non-clashing names for our ICU libraries
on Android.

(But isn't it stupid to include an own build of ICU if there is one in
the system already? Sure, but on the other hand the NDK doesn't
include ICU headers or libraries, so clearly Google doesn't consider
it part of the documented API. No guarantee of version stability
etc. Indeed best to avoid them then.)
2011-11-21 01:51:18 +02:00
Tor Lillqvist
e0183772e5 Deliver just shared library file names ending in .so for Android 2011-11-10 01:46:19 +02: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
Tor Lillqvist
2a214cc6d3 Compile also ICU for debugging if --enable-debug 2011-09-27 23:31:37 +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
eefc25d1d2 Bin USE_MINGW
Its alternative values as used by OOo is irrelevant to us as we don't
intend to support building using MinGW on Windows itself. To us, MinGW
always means cross-compilation. For us it is enough to look at
$(OS)$(COM), and WNTGCC always implies cross-compilation.

(OOo on the other hand attempts to support use of the Cygwin gcc with
the -mno-cygwin option (which is practically considered an obsolete
option), the normal MinGW compiler (but still from Cygwin), but not
cros-compilation.)
2011-08-26 20:54:59 +03:00
Jan Holesovsky
67f7622502 Fix some icu cross-building problems.
Still it does not finish, though; to be continued.
2011-08-19 18:43:29 +02:00
Tor Lillqvist
eab990db0a Let's try to do without the extra copy of icuin.lib as iicui18n.lib 2011-08-18 17:37:03 +03: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
Tor Lillqvist
78f9b77628 Always compare CROSS_COMPILING explicitly to "YES" 2011-06-06 09:07:30 +03:00
Tor Lillqvist
6654a13382 No ICU_NATIVE_BUILD_ROOT used any more 2011-06-05 01:22:02 +03:00
Christian Lohmaier
fe8fb7e519 data/mappings/ucm*.mk & data/translit/trn*.mk don't exist in current icu anymore 2011-06-04 18:52:19 +02:00
Tor Lillqvist
56f35e6b39 Drop %_EXT% which was always empty 2011-06-03 13:27:35 +03:00
Christian Lohmaier
0d8c550265 (minor) EXTRA_CDEFS are preprocessor plags 2011-06-02 22:33:25 +02:00
Christian Lohmaier
5a4e27252d remove double "=" from assignment to STATIC_OR_SHARED 2011-05-30 16:37:15 +02:00
Tor Lillqvist
229b1d0673 Cross-compilation support and iOS in particular 2011-05-26 02:58:34 +03:00
Noel Power
a335ce660e hacky patch to deliver icuin.lib as iicui18n.lib fixes forms build error
no doubt not the right fix but gets the build over the hump
2011-04-05 06:25:17 +01:00
Petr Mladek
d116346084 icu-4.2.1-rpath.diff: pass $ORIGIN correctly to icu RPATH
need to escape the dollar '$'
2011-03-29 17:59:06 +02:00