Commit Graph

237 Commits

Author SHA1 Message Date
tom_at_work
9428c78d63 Pass OPT to compilation of fpmake.
Solves issues with systems that e.g. require special options for compilation of programs (e.g. libc programs to find libc startup code) or the actual build has been compiled with options that are incompatible with default ones.

Tested changes by building an i386-linux local build and i386-linux->arm-linux cross-builds

git-svn-id: trunk@22397 -
2012-09-15 23:41:44 +00:00
joost
160c2fec65 * Use fpmkunit in the fppkg package, to avoid double code.
This also adds (among others) iphonesim support to fppkg

git-svn-id: trunk@21959 -
2012-07-23 20:56:09 +00:00
joost
7b13c9230d * Renamed TLogLevel vl** enumerations to ll**, to avoid
conflicts with fpmkunits TVerboseLevel

git-svn-id: trunk@21957 -
2012-07-23 20:13:19 +00:00
marco
a7ee1899bc * Patch from Mark Morgan Lloyd to add subcommands to ltelnet. Mantis #22032
git-svn-id: trunk@21340 -
2012-05-19 22:12:45 +00:00
pierre
1b3fd997fc + Regenerate all Makefiles's after adding x86_64 netbsd target
git-svn-id: trunk@21031 -
2012-04-24 23:15:18 +00:00
Jonas Maebe
135565e951 * enabled for AIX
git-svn-id: trunk@20851 -
2012-04-11 18:07:23 +00:00
Jonas Maebe
44bd889b9b * regenerated Makefiles with AIX support
git-svn-id: trunk@20812 -
2012-04-11 18:03:57 +00:00
pierre
2c4d8cc9d9 Add x86_64-openbsd target in Makefiles
git-svn-id: trunk@20723 -
2012-04-06 16:49:08 +00:00
joost
b1cda73a9a * Replaced fpcmake building by fpmake building
git-svn-id: trunk@20612 -
2012-03-24 10:15:21 +00:00
joost
ff6c64ae70 * Do not build unused units
git-svn-id: trunk@20609 -
2012-03-23 22:18:27 +00:00
joost
79c3ea3f87 * Added fpmake.pp file for fppkg-util
git-svn-id: trunk@20584 -
2012-03-22 21:10:28 +00:00
pierre
68f8a21151 Update Makefile for mips-linux support
git-svn-id: trunk@20446 -
2012-02-29 11:19:54 +00:00
joost
a26f1d9dd3 * When the OS,CPU or compiler are specifically given on the command line, the
fpmake-compileroptions and default compileroptions can differ. Even when
   they are based on the same configuration file.

git-svn-id: trunk@20065 -
2012-01-13 15:39:27 +00:00
florian
9426cac1b0 * rebuilt Makefiles
git-svn-id: trunk@19748 -
2011-12-04 15:34:01 +00:00
marco
04b5c342d2 * OpenBSD fixes.
git-svn-id: trunk@19441 -
2011-10-09 20:21:14 +00:00
pierre
1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
marco
043e9b2ec2 * Trunk version to 2.7.1
git-svn-id: trunk@18075 -
2011-08-03 13:59:33 +00:00
marco
39d7bb511d * Regenned all makefiles before 2.6.x branching.
git-svn-id: trunk@18073 -
2011-08-03 13:41:52 +00:00
joost
0e1f20773a * Move LoadCompilerDefaults and LoadGlobalDefaults to the fppkg package, so it can be used by other fppkg clients
git-svn-id: trunk@17652 -
2011-06-04 12:19:19 +00:00
michael
e99826618f * Moved fppkg units to package
git-svn-id: trunk@17446 -
2011-05-13 20:24:49 +00:00
michael
94cc1eef04 * Patch from Darius to fix 19348
git-svn-id: trunk@17440 -
2011-05-13 11:16:09 +00:00
michael
cb3043b3a2 * Fixed 19068
git-svn-id: trunk@17235 -
2011-04-03 09:27:06 +00:00
joost
7b613697fa * Fixed AV when files cant be opened
git-svn-id: trunk@17180 -
2011-03-25 18:35:57 +00:00
joost
547a1b289c * Do not use a buildunit, but build the units directly. To avoid that
logic on which units to use has to be changed on two places

git-svn-id: trunk@16960 -
2011-02-21 09:33:17 +00:00
joost
27b6b908f1 * Fixed problem with spaces in path of add-ins (maybequoted was called twice)
git-svn-id: trunk@16936 -
2011-02-19 10:38:36 +00:00
joost
445dd5fc91 * Show message when downloading package
git-svn-id: trunk@16935 -
2011-02-18 22:03:38 +00:00
joost
04017bd0f3 * Do not show the message that dependencies are being installed in recursive calls
git-svn-id: trunk@16933 -
2011-02-18 20:58:12 +00:00
joost
e5b156f29a * When a add-in is installed, add it to the fpmake dependencies list, so that packages
depending on it can be installed in one go.

git-svn-id: trunk@16931 -
2011-02-17 17:03:18 +00:00
joost
06fb7437d9 * Use macro in default LocalRepository setting
* When no FPCDIR env. variable is set, do not clear the GlobalInstallDir

git-svn-id: trunk@16930 -
2011-02-17 13:12:26 +00:00
joost
5df80040ce * Solved issues setting the default GlobalPrefix and GlobalInstallDir
git-svn-id: trunk@16929 -
2011-02-17 12:17:31 +00:00
joost
45f6cc6567 * Do now show newlines in listsettings
git-svn-id: trunk@16928 -
2011-02-17 11:25:06 +00:00
joost
496a232570 * Use macros instead of code to resolve Global-and Local-InstallDir
* Added CompilerVersion macro

git-svn-id: trunk@16927 -
2011-02-17 09:57:42 +00:00
joost
83d224e61c * Alined settings output
git-svn-id: trunk@16926 -
2011-02-16 20:53:23 +00:00
joost
fa58935cfe * Added command listsettings to values for all settings
git-svn-id: trunk@16925 -
2011-02-16 20:44:56 +00:00
joost
533f01f158 * Use fppkg as application name on Windows and other OS'es. This means that
on all targets the same configuration filename and the same prefix for the
   local repository is used. This is easier to explain in the documentation.

git-svn-id: trunk@16921 -
2011-02-16 13:25:23 +00:00
joost
4d13235ea0 * Store the location of the original source when installing a package
* Store the used options to install a package in fpunits.conf
 * When a package is re-installed because of broken dependencies, use the stored
   source-path and options if possible
 * When installing a package from the current directory, make sure the right
   directory is used. It could be changed while installing dependencies.

git-svn-id: trunk@16918 -
2011-02-15 15:56:21 +00:00
joost
8292cc17e2 * Show that dependencies are being installed
git-svn-id: trunk@16912 -
2011-02-13 15:12:13 +00:00
joost
4e18e505f6 * Show message to inform why depending packages are installed
git-svn-id: trunk@16897 -
2011-02-08 17:10:58 +00:00
joost
cedede9e81 * Do not handle packages twice, when they are passed on the command line
git-svn-id: trunk@16463 -
2010-11-28 17:08:39 +00:00
joost
94e9d5ebb8 * Added TPackage.IsFPMakeAddIn, when this flag is set, the package can be
needed when compiling fpmake.pp files. 
 * Pass -dCOMPILED_BY_FPPKG to the compiler when compiling fpmake files. This
   is used to show better error-messages when a fpmake-addin is missing
 * FPMKUnitDeps is not a constant anymore, but a variable, so that extra 
   dependencies for the fpmake.pp files can be added. (The add-ins)
 * Added TFPMKUnitDep.Def, so that it canbe detected is an AddIn is available

git-svn-id: trunk@16462 -
2010-11-28 13:01:05 +00:00
joost
6a4ea03acb * Added FPMakeOptions to the global configuration file, to pass custom options to fpmake
git-svn-id: trunk@16349 -
2010-11-14 19:29:26 +00:00
Károly Balogh
497518c6a3 + disable unimplemented stuff in fppkg for MorphOS/Amiga, so it builds at least
git-svn-id: trunk@16194 -
2010-10-21 03:25:15 +00:00
joost
631811d779 * Added the ability to skip the rebuild of all packages which are dependent on the package being installed
git-svn-id: trunk@16131 -
2010-10-11 20:24:08 +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
joost
b5fadc3414 * Added --cpu and --os command-line options
git-svn-id: trunk@16045 -
2010-09-25 20:03:05 +00:00
joost
819b0a0f0a * Regenerated and added comment how to re-generate
git-svn-id: trunk@16038 -
2010-09-23 19:14:43 +00:00
joost
b9b0eb1152 * Hopefully finally fixed the --options option after r16007,r16016
git-svn-id: trunk@16033 -
2010-09-20 21:33:36 +00:00
joost
ff4614177b * Fixed exception while parsing the -o option for the second time
git-svn-id: trunk@16016 -
2010-09-19 20:06:37 +00:00
joost
ed985423ac * Do not use -c command line parameter for the compiler executable, it is already used for the compiler config file
git-svn-id: trunk@16015 -
2010-09-19 18:23:12 +00:00