Commit Graph

336 Commits

Author SHA1 Message Date
yury
c27dcfd5b1 * Fixed building of Android RTL with newer versions of make. Issue #23911.
* Disabled building of clocale, since it does not work anyway. A new android implementation is needed.
* Disabled building of x86 and ports units. They are useless on Android.

git-svn-id: trunk@23635 -
2013-02-20 15:53:13 +00:00
florian
4eb660699c * patch by Takeda Matsuki to fix building for android with make 3.82, resolves #23911
git-svn-id: trunk@23632 -
2013-02-19 20:52:47 +00:00
yury
cf52a07470 * Updated makefiles.
git-svn-id: trunk@23609 -
2013-02-13 17:46:54 +00:00
yury
9471fb4f9e * Added ICU version of Android 4.1.
* Increment by 2 when finding an unknown ICU version.

git-svn-id: branches/targetandroid@23483 -
2013-01-22 09:47:31 +00:00
yury
0abe1d270b * Fixed file description.
git-svn-id: branches/targetandroid@23450 -
2013-01-18 23:27:45 +00:00
yury
04fd0eeee2 * Simplify arm startup code.
git-svn-id: branches/targetandroid@23449 -
2013-01-18 23:27:02 +00:00
yury
2aa9111b7c * Fixed file description.
git-svn-id: branches/targetandroid@23448 -
2013-01-18 23:25:58 +00:00
yury
3ed10a6936 * Rewrite initialization code for i386-android. i386-android works.
git-svn-id: branches/targetandroid@23447 -
2013-01-18 23:19:29 +00:00
yury
12fe3bb65d * Removed leftover from my experiments (calling directly pascal main).
git-svn-id: branches/targetandroid@23434 -
2013-01-17 22:28:59 +00:00
yury
862b608eb8 * Thread safety.
git-svn-id: branches/targetandroid@23429 -
2013-01-17 16:49:23 +00:00
yury
04902a15f9 * Fixed AnsiStrLComp() and AnsiStrLIComp().
git-svn-id: branches/targetandroid@23424 -
2013-01-17 12:02:35 +00:00
yury
f55c3a0331 * Fixed stupid copy-paste error.
git-svn-id: branches/targetandroid@23423 -
2013-01-17 11:49:55 +00:00
yury
2fc220cc6c * Regenerated makefiles.
git-svn-id: branches/targetandroid@23410 -
2013-01-16 14:52:36 +00:00
yury
d26f0552a0 * Sync with trunk r23404.
* Regenerated makefiles.

git-svn-id: branches/targetandroid@23405 -
2013-01-16 13:21:51 +00:00
yury
87f14b072f * Use collation when comparing strings.
git-svn-id: branches/targetandroid@23402 -
2013-01-16 10:50:52 +00:00
yury
9330507f8d * Implemented Unicode string manager for Android. It uses ICU library libicuuc.so. Note: ICU on Android has limited number of code pages. So don't expect support for DOS code pages or other exotic code pages.
git-svn-id: branches/targetandroid@23382 -
2013-01-14 14:20:44 +00:00
yury
7322164c0a * I've found that libc on Android does not implement widechar case functions such as towupper(). Such functions are just wrappers over regular char functions. Therefore the whole cwstring unit is useless for Android. For now I've added stub cwstring unit for Android and reverted all Android specific changes in unix/cwstring.pp. Later, Unicode manager for Androud should be implemented using libicuuc, which is default Android lib.
git-svn-id: branches/targetandroid@23301 -
2013-01-02 18:47:09 +00:00
yury
26c1ab9375 * Added uuchar unit to build for android.
git-svn-id: branches/targetandroid@23298 -
2013-01-02 15:41:36 +00:00
yury
b0fb02e4c9 * Updated Makefile
git-svn-id: branches/targetandroid@23288 -
2013-01-02 00:04:41 +00:00
yury
5fbb67a303 * cprt0.as is not needed, since we link to libc always.
git-svn-id: branches/targetandroid@23287 -
2013-01-02 00:03:42 +00:00
yury
97dd19b04f * cprt0.as is not needed, since we link to libc always.
git-svn-id: branches/targetandroid@23286 -
2013-01-02 00:01:43 +00:00
yury
6ccb152647 * Rework of Android startup code. It is needed to always link to libc on android to implement finalization and environment variables in shared libraries.
* Cleanup of Android linker.
* Use only INSERT command in the linker script to inject custom .fpc sections. Whole linker script duplication is nor needed anymore.
* Use BFD linker, since GOLD linker does not support INSERT command. Other incompatibilities may also exist.
* Enable tf_smartlink_sections for i386-android.
* i386-android is broken after this commit. Will be fixed later.

git-svn-id: branches/targetandroid@23284 -
2013-01-01 23:49:12 +00:00
Jonas Maebe
21e162604c * fixed "make install" for jvm targets
+ implemented top level "make (cross)zipinstall" for jvm targets
    (mantis #23005)

git-svn-id: trunk@22493 -
2012-09-27 21:35:17 +00:00
tom_at_work
75e57faba1 re-apply the changes of r22045 to correct files after recent revert
git-svn-id: branches/targetandroid@22048 -
2012-08-09 14:13:51 +00:00
tom_at_work
19238eafde - revert r22045: applied changes to wrong files, i.e. linux system files, instead of android ones
git-svn-id: branches/targetandroid@22047 -
2012-08-09 13:57:34 +00:00
tom_at_work
810adb2f65 Merge with trunk r22040. Regenerated makefiles.
git-svn-id: branches/targetandroid@22046 -
2012-08-09 08:12:34 +00:00
tom_at_work
787ca1c0bc Made cprt0 startup files to compile. Static executables using them likely do not work though.
Removed obsolete startup files (?prt21*).

git-svn-id: branches/targetandroid@22045 -
2012-08-09 08:05:38 +00:00
tom_at_work
4150f0a2fb Rebase with r21814
git-svn-id: branches/targetandroid@21815 -
2012-07-07 23:09:20 +00:00
tom_at_work
77a85b7448 * basic android/x86 support
git-svn-id: branches/targetandroid@21296 -
2012-05-14 21:14:12 +00:00
Jonas Maebe
834026bfb5 * synchronised with trunk up to r21067
git-svn-id: branches/jvmbackend@21068 -
2012-04-26 21:24:20 +00:00
tom_at_work
a7b48be598 bugfixes:
- do not compile ipc unit for android, not supported
- fix geterrnolocation external name
- implement dummy getdomainname; does not exist in android
- remove wrong 'if defined(android)' clauses

git-svn-id: branches/targetandroid@21065 -
2012-04-26 13:15:52 +00:00
tom_at_work
f1fed11cfa - missing makefile
git-svn-id: branches/targetandroid@21063 -
2012-04-26 09:53:37 +00:00
tom_at_work
c520f713f4 - commit missing new files
git-svn-id: branches/targetandroid@21062 -
2012-04-26 09:41:13 +00:00
Jonas Maebe
aee5380ae0 * merged trunk up to r20882
o support for the new codepage-aware ansistrings in the jvm branch
   o empty ansistrings are now always represented by a nil pointer rather than
     by an empty string, because an empty string also has a code page which
     can confuse code (although this will make ansistrings harder to use
     in Java code)
   o more string helpers code shared between the general and jvm rtl
   o support for indexbyte/word in the jvm rtl (warning: first parameter
     is an open array rather than an untyped parameter there, so
     indexchar(pcharvar^,10,0) will be equivalent to
     indexchar[pcharvar^],10,0) there, which is different from what is
     intended; changing it to an untyped parameter wouldn't help though)
   o default() support is not yet complete
   o calling fpcres is currently broken due to limitations in
     sysutils.executeprocess() regarding handling unix quoting and
     the compiler using the same command lines for scripts and directly
     calling external programs
   o compiling the Java compiler currently requires adding ALLOW_WARNINGS=1
     to the make command line

git-svn-id: branches/jvmbackend@20887 -
2012-04-15 15:54:10 +00:00
Jonas Maebe
85ef5e109c + assert() support for the JVM target (currently ignores the Java classloader
assertionStatus setting)

git-svn-id: branches/jvmbackend@20388 -
2012-02-20 11:28:59 +00:00
Jonas Maebe
0d5b2b84a8 + Android/JVM target, including a translation of the Android r14 SDK
(= Android 4.0) java headers: java.*, javax.*, org.*, junit.*, android.*).
    The RTL can also be used to target earlier versions of the Android
    platform, but you manually have to take care of not using APIs that
    weren't available yet. Adding separate units for separate platform
    versions would only partly solve the problem, because some of the
    classes used inside the system unit have also changed across
    versions.

    Use -Tandroid while compiling to select the Android OS as target
    platform.

git-svn-id: branches/jvmbackend@19830 -
2011-12-12 02:34:34 +00:00