Commit Graph

529 Commits

Author SHA1 Message Date
nickysn
433050a2c4 * set EXEEXT to .wasm for the WASI target in fpcmake
git-svn-id: trunk@49552 -
2021-06-24 00:16:00 +00:00
pierre
4391075617 * Use FGeneralCriticalSection for LogIndent and LogUnindent.
Add FIndentCount integer field.
    Add FWorkerPrefix string field.
    Use try/finally block to keep track of LogLevel

git-svn-id: trunk@49266 -
2021-04-26 20:43:07 +00:00
pierre
1e527e7a1e Also delete file before copying if destination is a directory on Darwin OS
git-svn-id: trunk@49202 -
2021-04-14 08:06:54 +00:00
florian
1bd9d4173e * never ignore BINUTILSPREFIX environment variable in fpmake
+ search also $(BINUTILSPREFIX)-gnu-gcc for a usable gcc to get the libgcc directory

git-svn-id: trunk@49181 -
2021-04-11 17:30:21 +00:00
Jonas Maebe
500e29e5e2 * regenerated with FreeBSD/AArch64 support
git-svn-id: trunk@49159 -
2021-04-10 08:19:40 +00:00
pierre
103599ede0 Delete existing files before overwriting them for Darwin OS to avoid codesign issues
git-svn-id: trunk@49131 -
2021-04-06 22:43:21 +00:00
florian
e4cc8af8fc * Makefiles regenerated
git-svn-id: trunk@49124 -
2021-04-05 15:39:07 +00:00
nickysn
1fb5008630 - disabled compilation on the wasi target for packages that don't compile
git-svn-id: branches/wasm@48953 -
2021-03-14 00:24:24 +00:00
nickysn
ea8f068817 * regenerated makefiles after sync with trunk
git-svn-id: branches/wasm@48951 -
2021-03-13 21:52:13 +00:00
nickysn
e42330a7ad * synchronized with trunk
git-svn-id: branches/wasm@48949 -
2021-03-13 21:47:24 +00:00
pierre
e8fbe6696b Update Makefile's after commits 48929/48930
git-svn-id: trunk@48940 -
2021-03-12 13:23:41 +00:00
nickysn
940738a3a1 * synchronized with trunk
git-svn-id: branches/wasm@48846 -
2021-03-01 13:21:24 +00:00
pierre
f767a4ac09 Do not add libgcc directory to library directories with -Fl option if -Xd option is used
git-svn-id: trunk@48814 -
2021-02-26 17:15:30 +00:00
nickysn
3f0d3c1a90 + added WASI OS to fpmkunit
git-svn-id: branches/wasm@48372 -
2021-01-24 02:09:23 +00:00
nickysn
2a64e8c07e - removed OS 'wasm' and added wasm32-embedded
git-svn-id: branches/wasm@48371 -
2021-01-24 02:07:13 +00:00
nickysn
9c118502ff * cpu 'wasm' renamed 'wasm32' in fpcmkunit
git-svn-id: branches/wasm@48370 -
2021-01-24 02:05:43 +00:00
nickysn
1d9d1ab859 * regenerated makefiles
git-svn-id: branches/wasm@48369 -
2021-01-24 02:01:11 +00:00
nickysn
fe7c14a2c0 * synchronized with trunk
git-svn-id: branches/wasm@48334 -
2021-01-22 16:37:32 +00:00
pierre
f28629e8e1 Only set FNotifyMainThreadEvent at start of Execute method and after finishing the compilation of a package
git-svn-id: trunk@48316 -
2021-01-22 08:57:56 +00:00
nickysn
4165c893be * synchronized with trunk
git-svn-id: branches/wasm@48292 -
2021-01-21 23:16:12 +00:00
pierre
3bfb995a48 Add sleep inside loop to find package that can be compiled, if none is ready in ProcessThreadResult
git-svn-id: trunk@48262 -
2021-01-21 09:20:19 +00:00
nickysn
e0a1ce86fd * synchronized with trunk
git-svn-id: branches/wasm@48158 -
2021-01-15 01:05:37 +00:00
pierre
50a13b4df4 Function GetDefaultLibGCCDir adapted to case of Defaults not assigned (required for fpcmkcfg utility) reported by Andrew Kurushin
git-svn-id: trunk@48157 -
2021-01-14 22:59:16 +00:00
nickysn
b876c69bea * synchronized with trunk
git-svn-id: branches/wasm@48153 -
2021-01-13 11:23:19 +00:00
pierre
1fa5edd34e Try to avoid use of native libgcc directory when cross-compiling.
Add FSourceCPU, FSourceOS, FCompilerDate FFullCompilerVersion fields to TCustomDefaults class.
  Set these new fields by also parsing FPC -iDWSPSO output.
  Use these fields to try to correctly guess if native gcc should be used to
  try to find libgcc directory, or only $BINUTILSPREFIX prepended gcc.

git-svn-id: trunk@48152 -
2021-01-13 10:07:37 +00:00
nickysn
cf6c173653 * regenerated makefiles
git-svn-id: branches/wasm@47988 -
2021-01-02 22:25:27 +00:00
nickysn
a84b091b5e * makefiles regenerated after fpcmake update
git-svn-id: branches/wasm@47985 -
2021-01-02 22:15:42 +00:00
michael
ece9c98362 * Avoid using volatile if NO_THREADING is defined
git-svn-id: trunk@47624 -
2020-11-28 18:09:59 +00:00
michael
b0cbff6463 * Try all OS/CPU combinations
git-svn-id: trunk@47611 -
2020-11-27 17:16:20 +00:00
michael
c7383e54cf * Some fixes in fpdoc generation
git-svn-id: trunk@47610 -
2020-11-27 16:59:40 +00:00
pierre
68d3962889 Regenerate all Makefile's, and update utils/fpcm/fpcmake.inc and utils/fpcm/revision.inc after commit 47483
git-svn-id: trunk@47484 -
2020-11-20 14:03:57 +00:00
Károly Balogh
9d67adcbb6 * regenerated all Makefiles after Sinclair QL support was added
git-svn-id: trunk@47453 -
2020-11-19 02:58:27 +00:00
michael
284b50de3c * Allow to create fpdoc project file based on package targets
git-svn-id: trunk@47430 -
2020-11-15 23:04:37 +00:00
Károly Balogh
c06a020c9c * fixed the packages build after r47376
git-svn-id: trunk@47378 -
2020-11-10 21:36:48 +00:00
Károly Balogh
51d8ec90a7 sinclairql: now the target short name is also sinclairql as proposed by Pierre, so it's unified everywhere
git-svn-id: trunk@47376 -
2020-11-10 21:31:04 +00:00
Károly Balogh
55b99cad04 sinclairql: disable most packages for the QL
git-svn-id: trunk@47370 -
2020-11-10 11:49:10 +00:00
Károly Balogh
c3bafd3a8d sinclairql: added to fpmkunit
git-svn-id: trunk@47362 -
2020-11-09 01:40:41 +00:00
pierre
58a56e38d1 Add m68k specific option to gcc call to be sure to generate an error if the gcc does not target m68k CPU
git-svn-id: trunk@47282 -
2020-11-02 08:50:34 +00:00
pierre
0e72cc94f6 Set FBuildEngine.Verbose also for -d option
git-svn-id: trunk@46944 -
2020-09-24 15:46:45 +00:00
Jonas Maebe
8616338374 * fixed dataraces in setting the UnitDir/UnitConfigDir fields of TPackage
(could be resolved by multiple other packages at the same time)
    (mantis #37725)
  * made some "array of const" parameters "const"
  * fixed removing the extra variables again in TDictionary.Substitute

git-svn-id: trunk@46857 -
2020-09-12 19:05:36 +00:00
pierre
df43c1ed03 Change 'Skipped package' messages from Warning to Info level, to avoid having these messages alone if all avaialble packages are compiled already
git-svn-id: trunk@46717 -
2020-08-27 11:42:01 +00:00
pierre
b7a1195f5d Generate more precise error message
git-svn-id: trunk@46692 -
2020-08-25 15:31:09 +00:00
pierre
4739762790 * Try to avoid deadlocks with worker threads:
* Add three separate try/except blocks:
       - Around thread create calls to handle fails in constructor
       - Around ProcessThreadResult calls
       - Around Terminate calls
    Set ErrorState and ErrorMessage if an exception is raised
    inside those try/except blocks.

git-svn-id: trunk@46684 -
2020-08-25 12:20:52 +00:00
pierre
6f27c2390e Disable compilation of most packages for msxdos and amstadcpc OS
git-svn-id: trunk@46247 -
2020-08-05 10:47:24 +00:00
pierre
738c11199b Add amstradcpc OS support for fpcmake and fpmkunit
git-svn-id: trunk@46241 -
2020-08-05 09:05:14 +00:00
pierre
299799c33c Add name of package for which dependency is checked to get a more useful error message
git-svn-id: trunk@46240 -
2020-08-05 08:40:32 +00:00
pierre
ca40956a3a Regenerated all Makefile's
git-svn-id: trunk@46224 -
2020-08-04 10:19:49 +00:00
Jonas Maebe
198efe2075 * fpmkunit: only start the worker threads once they are fully initialised
git-svn-id: trunk@45989 -
2020-08-02 14:39:47 +00:00
pierre
208e7fb337 Add -marm option to gcc call fot arm target to be sure that aarch64 version of gcc complains to stderr if it does not support 32-bit
git-svn-id: trunk@45982 -
2020-08-01 20:42:22 +00:00
pierre
06b1e65864 + Add a new parameter to GetCompilerInfo function,
called EmptyIfStdErr, which resets the returned string to
   an empty string if the call generated output to stderr stream.

   * Adapt calls to GetCompilerInfo to change above.
   + Add support for other CPUs for linux OS target.

git-svn-id: trunk@45838 -
2020-07-23 21:34:24 +00:00