Commit Graph

203 Commits

Author SHA1 Message Date
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
peter
323d6cf640 * use -O2 for 2.1.1 compilers
git-svn-id: trunk@2966 -
2006-03-19 11:19:43 +00:00
Jonas Maebe
73356964b0 * -O1r -> -O2 for ppc release
git-svn-id: trunk@2942 -
2006-03-17 17:52:43 +00:00
florian
b9a0e2ead2 * makefile again regenerated
git-svn-id: trunk@2280 -
2006-01-13 20:32:53 +00:00
florian
7cfcc635fa * install shared library only if it exists
git-svn-id: trunk@2278 -
2006-01-13 19:36:53 +00:00
florian
dfcf0cb9d7 * proper handling of build units and implicit units for shared libs
git-svn-id: trunk@2256 -
2006-01-11 21:38:52 +00:00
florian
7dbeab548d + make shared implemented
git-svn-id: trunk@2255 -
2006-01-11 21:20:55 +00:00
florian
0454654a22 * more shared stuff, still not perfect
git-svn-id: trunk@2230 -
2006-01-08 16:26:07 +00:00
florian
9c6b3cc8f7 + make shared
git-svn-id: trunk@2227 -
2006-01-08 15:52:43 +00:00
marco
f7f14e4dee * CROSSOPT support
git-svn-id: trunk@1798 -
2005-11-20 22:19:50 +00:00
tom_at_work
202236c6e0 * fpcmake.ini update which fixes glibc search path problems on PowerPC64
* makefile update

git-svn-id: trunk@1546 -
2005-10-20 16:56:40 +00:00
Jonas Maebe
2dbdc474fd * use register variables when release-building for ppc (more or less doubles
performance for most programs)

git-svn-id: trunk@1383 -
2005-10-15 16:36:52 +00:00
florian
da58c3ca5a * -Ur switch for RELEASE mode is generated by fpcmake
git-svn-id: trunk@843 -
2005-08-10 21:27:48 +00:00
florian
1f84c12ae4 + wince and win64 target added to be handled by fpcmake
git-svn-id: trunk@216 -
2005-06-05 14:15:36 +00:00
peter
1d857bdb67 * vj for bz2 compression 2005-02-11 16:05:25 +00:00
peter
02fa3205b8 * sunos to solaris 2005-02-10 17:27:50 +00:00
peter
3089ca7d24 * strip dir from ppu when installing 2005-01-31 20:40:05 +00:00
peter
9734ec881c * call fpcmake with -Tcpu-os 2005-01-31 20:01:03 +00:00
peter
853152fdc2 * fix searching for fpc binary when specified on the cmdline 2005-01-11 17:02:29 +00:00
peter
b70d944a49 * use cpu-os style 2005-01-10 20:33:09 +00:00
peter
712030ba8b * zipsuffix support for 1.0.x 2004-12-20 18:28:03 +00:00
peter
c784367dfc * zipname fixes 2004-12-19 18:53:59 +00:00
Tomas Hajny
490f9abe4c * fixes for 8.3 platforms 2004-11-28 22:04:45 +00:00
armin
f4ffaa9828 * applied peters patch for cross compile (bin installation) 2004-11-26 13:03:07 +00:00
peter
e06f452fb2 * check if cross gcc is available 2004-11-06 18:11:44 +00:00
peter
86f78c7300 * units are now created in separate directory units/cpu-os/
* distclean uses cleanall rule and removes units dir
  * cross compile support fixed, it is now possible to cycle a ppcsparc
    without deleting ppc386
  * bintutilsperfix defaults to cpu-os-
2004-10-30 12:36:43 +00:00
olle
e0d35adc51 * COPYTREE now uses (recommended) -R instead of -r option 2004-09-12 20:22:47 +00:00
armin
d969bdf6a0 * added target netwlibc 2004-09-04 21:24:43 +00:00
peter
82f90fcb13 support for .lpr files 2004-08-27 20:50:33 +00:00
Károly Balogh
55a846919b + added morphos target 2004-06-06 14:11:54 +00:00
peter
dbe27cf929 * remove trailing / from dirs in path 2004-05-23 19:04:09 +00:00
olle
17f4f0d27f + Added section [defines] for defining misc things
+ Added OS lists BSDs and UNIXs under [defines]
  + Added phony target FORCE under [defines]
  * More robust Darwin detection
  * UNIXINSTALLDIR renamed to UNIXHier
2004-04-20 23:03:26 +00:00
florian
86e92d9daf * i386 compilation on debian biarch fixed 2004-04-12 18:16:15 +00:00
Jonas Maebe
6234729fbc + add -O1 for powerpc if RELEASE=1 2004-04-10 15:55:24 +00:00
olle
19f8e5ff4c * fixed examples dir for linux 2004-04-05 12:28:11 +00:00
olle
da08119ee7 + added define linuxHier
* changed linux install locations
  * moved definition of BSHhier to target section
2004-04-04 21:07:18 +00:00
olle
0c79e44717 * Darwin is on equal foot as other BSD's
* BATCHEXT (for surce) renamed to SRCBATCHEXT
  + New BATCHEXT dependant of target system
  + New DEBUGSYMEXT for debugger symbol files
  + Clean/cleanall also helpful when link on target
2004-04-01 12:35:10 +00:00
pierre
831a8a275f * restore asw for win32 but only if CROSSBINDIR is not set 2004-03-01 02:50:41 +00:00
florian
6a518791f9 * improved libgcc detection 2004-01-31 14:47:39 +00:00
peter
69fd93b662 * also try BASEDIR for FPCDIR 2004-01-15 19:05:07 +00:00
peter
7d4885dc70 * ECHOREDIR set to echo for not Unix 2003-10-28 16:38:22 +00:00
peter
bb595e61bb * replace \ with / in path to make.exe 2003-10-27 15:34:13 +00:00
Tomas Hajny
42f14d3bfd * Wiktor Sywula: platform extensions updated 2003-10-18 09:48:00 +00:00
peter
964de0b20a * add path of make to SEARCHPATH 2003-10-13 12:14:31 +00:00
peter
52fe9035d9 * fpc -Q to -P 2003-10-09 14:31:12 +00:00
marco
feaed02001 * cross compiling fixes to makefile and fpcmake 2003-10-04 13:48:11 +00:00
marco
313e4f97bf * Crosscompiling fixes for prefix handling. make all comes a long way now
make install still to do
2003-10-03 21:36:44 +00:00
marco
eaceacb7e2 * remake with new fpc param 2003-10-02 08:50:13 +00:00
florian
f48b695397 + darwin support added 2003-05-20 23:54:45 +00:00
peter
33a6f3a12a * check for cygdriver in PATH to check for Cygwin, the old detection
method didn't work with recent Cygwin
2003-05-13 14:45:17 +00:00
peter
d1eb9015ae * compare full source and target if ppas needs to be run 2003-04-23 14:01:24 +00:00
peter
38d291b799 * fixed extension setting 2003-04-01 16:03:42 +00:00
Tomas Hajny
bb42b50950 * wrong version committed previously :-( 2003-03-29 15:33:51 +00:00
armin
d503c887a0 * extention for obj was .n instead of .o for netware 2003-03-24 10:19:05 +00:00
armin
d9f4d94d50 * changed extentions for netware from .on in .o and from .ppn in .ppu 2003-03-24 09:28:55 +00:00
Tomas Hajny
0d9ac94e62 + platform extensions unified, emx target added 2003-03-23 23:18:26 +00:00
peter
87a76229bd * define HASUNIX for Linux 1.0.6 2003-01-14 20:41:18 +00:00
peter
e25089e0bf * include generated .inc 2003-01-14 15:31:54 +00:00
peter
9dbdd882b3 * only one call to a 1.1 compiler is needed to retrieve all info 2003-01-13 21:04:29 +00:00
florian
f19b32a165 + macos and macosx target
* fixed target detection, first we should try the default target
2003-01-13 15:09:16 +00:00
peter
8c915fecf0 * fix wrong check for sh.exe 2002-11-24 16:20:05 +00:00
pierre
4cadc22889 * adapt to DEFAULT_TARGET_CPU/OS
* try to handle cygwin shells
2002-09-27 06:59:49 +00:00
marco
0e2046b1fd * Some more OpenBSD fixes. 2002-08-01 12:28:49 +00:00
marco
c088f4d620 * Renamefest 2002-06-02 17:10:35 +00:00