Commit Graph

166 Commits

Author SHA1 Message Date
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
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
marco
0a83746e73 * RUNBATCH now only initialized when not already set. For Dos under Windows XP in some circumstances.
git-svn-id: trunk@13477 -
2009-07-30 11:28:54 +00:00
Tomas Hajny
161c1f44d0 * changes from r12727 (import library prefix) reflected in fpcmake
git-svn-id: trunk@12830 -
2009-02-28 22:28:30 +00:00
florian
9d087f40fa * when cross compiling, fallback to fpc when no cross compiler is found
git-svn-id: trunk@11827 -
2008-09-27 10:06:56 +00:00
Jonas Maebe
010246b1ae * better fix for not automatically adding cross binutils prefixes for
darwin to darwin cross compilation (keeps CROSSCOMPILE=1 now, so other
    CROSSCOMPILE-related changes are still done)

git-svn-id: trunk@11233 -
2008-06-15 15:40:24 +00:00
Jonas Maebe
390ece6e0b * regenerated after r11180
git-svn-id: trunk@11193 -
2008-06-04 17:22:44 +00:00
Jonas Maebe
fb3242b2f7 * don't set CROSSCOMPILE when compiling from darwin to darwin
(regardless of source and target architectures)

git-svn-id: trunk@11068 -
2008-05-24 08:36:36 +00:00
florian
35c0f78642 + Haiku support by Olivier Coursière based on old BeOS support
git-svn-id: trunk@11014 -
2008-05-19 17:33:35 +00:00
micha
b0838b13d7 * add armeb target to compiler/Makefiles
git-svn-id: trunk@10552 -
2008-03-24 17:48:11 +00:00
peter
337c3cba5d * also include sec_units if only implicitunits are available
git-svn-id: trunk@9861 -
2008-01-22 08:45:14 +00:00
peter
fce01e8aab * check cpu_target before passing it to fpc
git-svn-id: trunk@8990 -
2007-10-29 16:34:03 +00:00
florian
3e7e3dc2eb * when looking for the compiler, call fpc with the right target cpu name, resolves #9924 after makefile regeneration
git-svn-id: trunk@8911 -
2007-10-22 19:57:59 +00:00
pierre
cbae87c505 * Added missing endif in previous commit
git-svn-id: trunk@8564 -
2007-09-19 15:48:38 +00:00
pierre
3c096a9549 * Run batch using COMSPEC for go32v2 and watcom
git-svn-id: trunk@8562 -
2007-09-19 15:36:38 +00:00
Jonas Maebe
cb744d37ff - reverted change for avoiding recompilation of units in subdirs,
it breaks other things

git-svn-id: trunk@8298 -
2007-08-22 08:16:10 +00:00
Jonas Maebe
30bc89cfe5 * fixed dependency checking for source files in subdirectories relative
to the makefile location + regenerated all Makefiles
  * hopefully fixed fpmkunit dependencies

git-svn-id: trunk@8297 -
2007-08-22 07:04:23 +00:00
peter
54bb5a0df8 * vpath for include files
git-svn-id: trunk@7524 -
2007-05-30 06:28:53 +00:00
peter
3eaece1399 * packagesdir
git-svn-id: trunk@6659 -
2007-02-25 21:32:02 +00:00
peter
3a46ab06a3 * symbian support
git-svn-id: trunk@6052 -
2007-01-18 20:24:44 +00:00
florian
1f522b7704 * fixed -Cg ifdefs
git-svn-id: trunk@5830 -
2007-01-06 20:48:07 +00:00
florian
fb22e83d89 * force pic'ed code on x86_64
git-svn-id: trunk@5829 -
2007-01-06 20:37:14 +00:00
Károly Balogh
d41f1ca2d8 + enabled Amiga target for PowerPC
git-svn-id: trunk@4330 -
2006-08-02 19:55:24 +00:00
peter
f3c4ff3470 * win64 lcl
git-svn-id: trunk@3445 -
2006-05-07 08:14:04 +00:00
peter
cba7504dec * use -P for cross compile
* support libimp*.a

git-svn-id: trunk@3321 -
2006-04-23 18:53:29 +00:00