Commit Graph

189 Commits

Author SHA1 Message Date
florian
0e41df598e * merge i8086 branch by Nikolay Nikolov
git-svn-id: trunk@24324 -
2013-04-25 20:23:51 +00:00
nickysn
0fe3bee97e * set STATICLIBPREFIX to empty for the msdos target in fpcmake.ini
git-svn-id: branches/i8086@24113 -
2013-04-01 17:27:28 +00:00
nickysn
a05823b8bf * updated fpcmake.inc after the changes in fpcmake.inc from my previous commit
git-svn-id: branches/i8086@24101 -
2013-03-31 23:21:42 +00:00
pierre
dd7d1e2cfe Create pascal program to convert svn info output
git-svn-id: trunk@23960 -
2013-03-22 22:19:26 +00:00
florian
911ac847f7 * regenerated several automatically generated files after last changes
git-svn-id: branches/i8086@23936 -
2013-03-19 20:12:48 +00:00
florian
451c634532 * treat msdos as 8.3 target in the makefiles as the compiler does
git-svn-id: branches/i8086@23780 -
2013-03-10 18:19:52 +00:00
yury
b3862eb4b1 * Use standard Android NDK prefixes for binutils by default.
git-svn-id: trunk@23608 -
2013-02-13 17:35:55 +00:00
yury
3cd3b50104 * Fixed conflict of native android and java android targets.
git-svn-id: branches/targetandroid@23409 -
2013-01-16 14:46:02 +00:00
yury
d26f0552a0 * Sync with trunk r23404.
* Regenerated makefiles.

git-svn-id: branches/targetandroid@23405 -
2013-01-16 13:21:51 +00:00
florian
a365ae3631 + define BUILDFULLNATIVE and BUILDNATIVE for native builds
git-svn-id: trunk@22236 -
2012-08-24 21:15:28 +00:00
florian
5966fcce74 * PIC does not require using the external assembler anymore
- removed 2.0.x-ism

git-svn-id: trunk@21116 -
2012-04-29 14:19:32 +00:00
tom_at_work
acbc94e0fd - initial support for the android/arm target in the compiler; resulting .so's can be used for Android/ARM app development.
- basic rtl support using system calls
- fp(c)make/fppkg/makefile support

todo:
- revisit systems/t_android.pas: mostly duplicate with t_linux.pas, containing
lots of unnecessary code
- revisit rtl changes
- android ndk header translation import
- better app build/packaging support
- android/x86 support

git-svn-id: branches/targetandroid@21061 -
2012-04-26 09:36:42 +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
b0e4263fee + aix support in fpcmake and fpmake
git-svn-id: trunk@20787 -
2012-04-11 17:59:59 +00:00
joost
994769cbe7 * Do not use the BINUTILSPREFIX when compiling fpmake files during a cross-
compile. It seems that CROSSBOOTSTRAP is never set(?)

git-svn-id: trunk@19951 -
2012-01-02 15:16:52 +00:00
marco
2087ab1508 * Remove upx support from makefiles.
git-svn-id: trunk@19917 -
2011-12-29 21:50:00 +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
Jonas Maebe
271c028813 * set OEXT (.class) and ASMEXT (.j) for JVM target
git-svn-id: branches/jvmbackend@19746 -
2011-12-04 15:33:49 +00:00
florian
3abd84d8d2 * disable upx for win32, resolves #20772
git-svn-id: trunk@19745 -
2011-12-04 15:29:14 +00:00
Jonas Maebe
9b7ea86332 - more FPC 1.0.x code removed
git-svn-id: trunk@19744 -
2011-12-04 15:12:15 +00:00
marco
2e3d1a17d0 * also remove *.dbg files. Patch from Jonas, Mantis #20466
git-svn-id: trunk@19658 -
2011-11-19 13:56:43 +00:00
pierre
05c83ab538 * Also default to PIC code using -Cg option for x86_64 BSD targets
git-svn-id: trunk@19277 -
2011-09-28 23:12:52 +00:00
joost
7a3503870c * Pass binutilsprefix to compiler when building fpmake. For now only enabled for fcl-web.
git-svn-id: trunk@19272 -
2011-09-28 19:51:50 +00:00
florian
34b033ba72 + armv4t
* use armv4t and armv7m, in the makefiles instead of armv7 and cortexm3

git-svn-id: trunk@18863 -
2011-08-27 20:21:42 +00:00
florian
e5c796e9fd * when compiling for arm-embedded, sub-arch is also passed to the compiler
+ compile cpu-specific rtl units depending on the sub-arch
* some makefiles regenerated

git-svn-id: trunk@18847 -
2011-08-25 21:41:08 +00:00
florian
8eafefc90f * arm-embedded requires sub-arch to be passed
git-svn-id: trunk@18845 -
2011-08-25 21:23:53 +00:00
florian
8a9763018f * another overleft from ancient 1.0.x times removed
git-svn-id: trunk@18842 -
2011-08-25 21:15:46 +00:00
florian
ebd1c11e70 * remove 1.0.x specific Makefile commands
git-svn-id: trunk@18841 -
2011-08-25 21:13:30 +00:00
Jonas Maebe
2e9e005647 * don't add a utils prefix when the target cpu is the JVM, because the
Jasmin assembler we use is a Java program, so the "assembler binary" is
    java itself (which is a native program for the current host in any case)

git-svn-id: branches/jvmbackend@18350 -
2011-08-20 07:50:08 +00:00
Jonas Maebe
94ed2ac649 + jvm/java target support
git-svn-id: branches/jvmbackend@18311 -
2011-08-20 07:37:42 +00:00
pierre
68d61c69e7 * Only use OS_TARGET for TARGET_SUFFIX if target is in LIMIT83fs list
* Update fpcmake.inc

git-svn-id: trunk@18227 -
2011-08-16 20:06:52 +00:00
joost
08ee418513 * Reverted r17969, now fpmake distclean is implemented
git-svn-id: trunk@17986 -
2011-07-13 20:25:02 +00:00
joost
595eadccb6 * Do not cleanup fpmake executable on distclean anymore. To make it possible
to cleanup more than one target using distclean.
 * Added new fpmakeclean target to makefiles which does a cleanall and clears
the fpmake executables

git-svn-id: trunk@17969 -
2011-07-10 14:27:49 +00:00
joost
28fb5b21a3 * Always add -n when compiling fpmake when not cross-compiling
git-svn-id: trunk@17965 -
2011-07-09 16:08:06 +00:00
pierre
11b154b5d9 * Also for -Cg use for x86_64 solaris
git-svn-id: trunk@17818 -
2011-06-24 13:52:37 +00:00
joost
6f0e8bffcf * Do not pass -n when there is no cross-compilation.
git-svn-id: trunk@17654 -
2011-06-04 14:53:03 +00:00
joost
0cf1eeb45b * No need for the FPC_NATIVE define anymore. This define held the wrong
compiler for compiling fpmake and fpmkunit-bootstrap during cross-cpu
   compiles. (bug #19263) Now the proper compiler is determined by executing
   fpc -PB.

git-svn-id: trunk@17649 -
2011-06-03 11:35:38 +00:00
joost
898a4debca * When using a installed compiler to compile fpmake, do not pass -n to
the compiler. Bug #19412.

git-svn-id: trunk@17605 -
2011-05-29 19:58:21 +00:00
joost
44a43c63da * Only export FPCFPMAKE when a suitable compiler is found, or else
it won't be detected when that compiler becomes available later in 
   the compile process. Bug #19263

git-svn-id: trunk@17500 -
2011-05-19 13:26:16 +00:00
joost
8847efb758 * To build fpmake while cross-compiling, use the compiler that is used
while cycling the compiler to build the native rtl. (bug 19263)

git-svn-id: trunk@17389 -
2011-05-01 16:48:56 +00:00
joost
a0f2ed6a13 * Added the FPCFPMAKE define which by default contains a compiler which
is build to compile for the target the system is running on. So that the
   fpmake files can be compiled for the native system while cross-compiling
 * Re-generated root and packages Makefile

git-svn-id: trunk@17356 -
2011-04-21 11:13:08 +00:00
Legolas
23d4e04c5c * Added Wii support to fpcmake
git-svn-id: trunk@17036 -
2011-02-27 19:28:42 +00:00
mazen
b127fc154a * Fixed spell error revealed by lintian.
git-svn-id: trunk@16094 -
2010-10-06 20:33:57 +00:00
Jonas Maebe
8b0301409a + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and
later: the same as i386/darwin, except
      a) uses the non-fragile Objective-C ABI/runtime
      b) does not require stubs for direct calls/jumps (not required for
         i386/darwin under 10.6 and later either, but still generated
         there for backwards compatibility)
      c) only the same packages are enabled as for ARM/Darwin
      d) MacOSAll is compiled specifically for the iPhoneSimulator SDK
    This target also defines the symbol "darwin" apart from the target
    name "iphonesim" for source code compatibility reasons.

git-svn-id: trunk@16065 -
2010-09-29 21:56:47 +00:00
marco
83245e2b1b * fix for Mantis 16504, change order of tarcommand for busybox and
other embedded/old tars.

git-svn-id: trunk@15290 -
2010-05-17 20:22:29 +00:00
marco
3ef5d17209 * run clean_files target also for distclean, fixes cleaning of installer.pas
git-svn-id: trunk@15029 -
2010-03-21 12:49:21 +00:00
pierre
69dedbfaeb + Add support for programs in clean section
git-svn-id: trunk@14770 -
2010-01-22 15:18:30 +00:00
florian
34227e811d + patch by Sven Barth to add native NT rtl support to the compiler, resolves #14886
git-svn-id: trunk@14565 -
2010-01-07 17:42:11 +00:00
marco
9243d89025 * haiku now an unix, Mantis 15032
git-svn-id: trunk@14322 -
2009-12-04 13:03:41 +00:00
marco
8dd4f48294 * haiku treated as general Unix in makefiles.
git-svn-id: trunk@14118 -
2009-11-08 18:41:46 +00:00