Commit Graph

146 Commits

Author SHA1 Message Date
pierre
f369069965 + Add CYCLELEVEL variable, whose value can be from 1 to 3
to be able to modify used options at a specific level,
  using OPTLEVELX, LOCALOPTLEVELX and RTLOPTLEVELX
  with X being the current value of CYCLELEVEL.
  extcycle: Append to value of OPT variable instead of overwriting it.
  fullcycle: Remove i386 target for x86_64 source cpu
  as this does not work for windows-64bit.

git-svn-id: trunk@21589 -
2012-06-13 08:04:44 +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
9ca2ea7fd0 + AIX support to Makefiles
git-svn-id: trunk@20809 -
2012-04-11 18:02:38 +00:00
pierre
ce90cae9f4 + Add sparc register includes generation rule
git-svn-id: trunk@20671 -
2012-03-30 15:45:38 +00:00
pierre
c45914fc27 * Fix loss of OPT variable content on last part of cross-cpu cycles
git-svn-id: trunk@20362 -
2012-02-16 14:26:12 +00:00
pierre
3a3ab75e4a + regdatia64 phony target to generate all ia64 register include files
git-svn-id: trunk@20202 -
2012-01-31 15:49:30 +00:00
florian
bf290cadae + include avr in fullcycle
git-svn-id: trunk@20080 -
2012-01-14 20:48:33 +00:00
florian
957c819035 * don't try to build a native compiler for arm-gba
git-svn-id: trunk@19969 -
2012-01-04 23:31:08 +00:00
Jonas Maebe
c9e6bc8d49 + support for building jvm-java compiler/rtl via top-level
make CPU_TARGET=jvm OS_TARGET=java all
    ("make install" does not yet fully work: the classes under
     rtl/units/jvm-java/org/freepascal/rtl aren't installed yet)

git-svn-id: branches/jvmbackend@19747 -
2011-12-04 15:33:55 +00:00
pierre
12d611e255 * Fix compilation by disabling -Sew for 2.4.X compiler versions
git-svn-id: trunk@19590 -
2011-11-03 13:21:57 +00:00
pierre
362a3c8beb Enable -Sew by default, set ALLOW_WARNINGS to 1 to disable
git-svn-id: trunk@19585 -
2011-11-03 10:27:58 +00:00
pierre
daa27f636d + exeinstall: New phony target to install only current cpu taret compiler.
+ fullinstall: New phony target to install all posible compilers.

git-svn-id: trunk@19041 -
2011-09-10 08:54:50 +00:00
Jonas Maebe
d8191d48ab * also delete ppcjvm in the execlean target
git-svn-id: branches/jvmbackend@18385 -
2011-08-20 07:55:08 +00:00
Jonas Maebe
532f16336a * force -dNOOPT when compiling a JVM compiler
git-svn-id: branches/jvmbackend@18347 -
2011-08-20 07:49:37 +00:00
Jonas Maebe
4ff56b2471 + jvm compiler target
git-svn-id: branches/jvmbackend@18313 -
2011-08-20 07:37:52 +00:00
marco
043e9b2ec2 * Trunk version to 2.7.1
git-svn-id: trunk@18075 -
2011-08-03 13:59:33 +00:00
pierre
f23b265ce1 + Add global testppudump rule
git-svn-id: trunk@17960 -
2011-07-08 16:01:28 +00:00
pierre
efb0193cb2 Add ./utils/ppudump prerequisite to log-ppu files
git-svn-id: trunk@17959 -
2011-07-08 15:57:27 +00:00
pierre
d4372a7ac5 * Add ppudump testing rules
git-svn-id: trunk@17958 -
2011-07-08 15:47:27 +00:00
pierre
1a468eebc7 * Fix insdatx86 rule for Windows Makefiles
Also include regeneration of register include files.

git-svn-id: trunk@17928 -
2011-07-04 07:35:24 +00:00
pierre
a347381066 * Allow direct executable rule by adding $(COMPILER_UNITTARGETDIR) and $(COMPILER_TARGETDIR) dependencies
git-svn-id: trunk@17863 -
2011-06-29 07:05:27 +00:00
joost
499d6f78d1 * Fixed recipe commences before first target error when using GNU make version 3.82
git-svn-id: trunk@17757 -
2011-06-14 20:21:15 +00:00
florian
7803a302bf + added avr to full cycle
git-svn-id: trunk@17458 -
2011-05-14 17:44:49 +00:00
Jonas Maebe
9604ae2908 * also delete ppcppc64, ppcarm, ppcmips and ppcmipsel in the execlean target
git-svn-id: trunk@16856 -
2011-01-30 19:58:15 +00:00
mazen
b127fc154a * Fixed spell error revealed by lintian.
git-svn-id: trunk@16094 -
2010-10-06 20:33:57 +00:00
pierre
9518188c4d * Also use CMP -i218 for win64 target
git-svn-id: trunk@15934 -
2010-09-01 11:43:28 +00:00
florian
6c08597535 * don't build a native compiler for embedded targets
git-svn-id: trunk@15472 -
2010-06-22 12:04:37 +00:00
florian
092823308a + mips(el) support in the compiler makefile
* regenerated some makefiles to support mipsel-linux

git-svn-id: trunk@14371 -
2009-12-08 19:57:16 +00:00
florian
9b4be66260 + first patches to support mips/mipsel in the compiler makefile
git-svn-id: trunk@14279 -
2009-11-27 15:22:15 +00:00
pierre
b9a8592a11 * fix problem when svn is not found and add phony revision rule
git-svn-id: trunk@14085 -
2009-11-06 16:46:48 +00:00
pierre
fec158cfdf * Remove FORCE for revision.inc target, correct rule
git-svn-id: trunk@14084 -
2009-11-06 15:10:56 +00:00
pierre
a977607e49 + revision.inc rule added
git-svn-id: trunk@14083 -
2009-11-06 14:47:32 +00:00
pierre
3f28cfafe2 * Only update revision.inc if it is already present
git-svn-id: trunk@14079 -
2009-11-06 11:13:42 +00:00
pierre
2295a9f23b * add -dREVINC even when REVSTR is already set, needed for cycle
git-svn-id: trunk@14077 -
2009-11-06 10:34:24 +00:00
pierre
b6d0a93599 * Fix REVSTR for windows OS
git-svn-id: trunk@14076 -
2009-11-06 10:18:07 +00:00
pierre
9bd672b3e4 * Use SRCEXEEXT for svnversion as EXEEXT is for target and not defined in prerules
git-svn-id: trunk@14075 -
2009-11-06 09:35:16 +00:00
Jonas Maebe
2eebadf944 * allow disabling the wpo cycle with NOWPOCYCLE=1
git-svn-id: trunk@13572 -
2009-08-21 14:27:37 +00:00
Jonas Maebe
d11764fe8c - removed 1.0.x-specific checks
git-svn-id: trunk@13570 -
2009-08-20 20:33:15 +00:00
Jonas Maebe
d9a65f5fcc * clean wpo files with distclean
* don't delete utilities while performing wpo cycle

git-svn-id: trunk@13564 -
2009-08-20 08:34:02 +00:00
Jonas Maebe
c8f9cfe9ed * only specify -Xs- when actually using -OWsymbolliveness
git-svn-id: trunk@13561 -
2009-08-19 21:51:45 +00:00
Jonas Maebe
6c948f0970 * when RELEASE=1, also perform two compilations of the compiler/rtl with WPO
(and use the resulting compiler as final compiler to compile the rest of
     the source tree and to install)

   Note: this means that if you manually use "make cycle RELEASE=1", the RTL
     afterwards will not be usable, because it will have been compiled with
     WPO for the compiler; if you use "make all" in the root FPC dir, there
     is no problem since that makefile recompiles the RTL anyway.

git-svn-id: trunk@13560 -
2009-08-19 21:36:28 +00:00
Jonas Maebe
847354fe10 * Makefiles version 2.5.1
git-svn-id: trunk@13533 -
2009-08-13 21:21:28 +00:00
florian
1bc505b622 * replaced PATHSEP by / for instruction and register table generation
git-svn-id: trunk@12786 -
2009-02-24 19:57:40 +00:00
florian
7cb26b37a1 * fixed reg. and ins. dat include file generation on windows
git-svn-id: trunk@12608 -
2009-01-26 14:15:10 +00:00
marco
3591d54f24 * updated all makefile.fpc versions to 2.2.2 for fppkg compat.
git-svn-id: trunk@11945 -
2008-10-22 17:19:13 +00:00
micha
66a940afad * fix armeb compiler cleaning
git-svn-id: trunk@11816 -
2008-09-21 21:02:51 +00:00
micha
b0838b13d7 * add armeb target to compiler/Makefiles
git-svn-id: trunk@10552 -
2008-03-24 17:48:11 +00:00
peter
f96817b5e9 * support CROSSOPT which is only passed to the cross compiler. Can be used to bootstrap a native compiler with
softfpu (-Cfsoft) that is not supported by i386

git-svn-id: trunk@10550 -
2008-03-24 14:23:45 +00:00
Jonas Maebe
9772da7eeb * compare stripped copies of the compiler instead of the original
compiler binaries when determining whether cycle has finished
    on darwin, because when using Dwarf the linked binaries are
    always slightly different there (because the Dwarf info is kept
    in the object files and is referenced using a unique identifier,
    to be able to ascertain that you are using the correct object
    files and binary together when debugging)

git-svn-id: trunk@9715 -
2008-01-11 20:08:47 +00:00
yury
22c1f6381d * Fixed cross CPU cycle after changes in rev. 8911.
git-svn-id: trunk@9018 -
2007-10-31 22:44:25 +00:00