Commit Graph

68134 Commits

Author SHA1 Message Date
Pierre Muller
8533759737 syscall unit doesn't depend on unixtype, nor baseunix units for BSD OSes 2023-09-29 17:44:34 +02:00
Frederic Kehrein
ba55932929 Fixing trying to consume ID for anonymous switch field 2023-09-28 22:42:49 +00:00
Pierre Muller
f1317e893d Update compiler related Makefile's 2023-09-28 11:22:55 +02:00
Pierre Muller
c335591b70 Generalize -DD option outside cycle
Add -DD option to LOCALOPT
  if FPC_VERSION is equal to PACKAGE_VERSION

  This is to avoid get different dates for
native compiler generated using 'make cycle'
versus cross-compilers.
2023-09-28 11:18:57 +02:00
Pierre Muller
c69bfcace2 Regenerate Makefile's after changes for DOTTED support 2023-09-27 17:59:46 +02:00
Pierre Muller
eea13aadd4 Convert go32v2 specific units to DOTTED 2023-09-27 17:55:17 +02:00
Pierre Muller
fb80deb529 Convert watcom unit rule to DOTTED 2023-09-27 17:45:27 +02:00
Pierre Muller
7a1195976f Add dependency of dos unit on winprocs and wintypes units for win16 OS 2023-09-27 17:07:01 +02:00
Pierre Muller
c3fddb91ce Regenerate Makefile's after changes for DOTTED support 2023-09-27 16:50:05 +02:00
Pierre Muller
fa1ec0e291 Fix TTHREADINCDIR value for haiku OS 2023-09-27 09:02:52 +02:00
Pierre Muller
f462aa9cf1 Remove obsolete handling of RELEASE, done by fpcmake 2023-09-27 09:02:52 +02:00
Pierre Muller
97b9682556 Modify rules for freebsd unit for DOTTED 2023-09-27 09:02:51 +02:00
Pierre Muller
707f79d52d Remove references to crt and objects units 2023-09-27 08:19:22 +02:00
Pierre Muller
dd99cad0ab Remove references to sockets unit, now in rtl-extra package 2023-09-27 08:19:22 +02:00
Pierre Muller
fb43582e94 Remove references to crt and graph units 2023-09-27 08:19:22 +02:00
Pierre Muller
ad33900090 Remove rules and references to matrix and ucomplex, which are in rtl-extra package 2023-09-27 00:10:10 +02:00
Pierre Muller
c844b60fe1 Remove obsolete rules in gba, nds and wii Makefile.fpc 2023-09-27 00:01:06 +02:00
Pierre Muller
a6353fecf0 Add tthread.inc dependency for classes unit using TTHREADINCDIR variable 2023-09-26 23:52:37 +02:00
Pierre Muller
38e3a37b82 Remove OS specific classes rules, setting CLASSES_DEPS_OS if needed 2023-09-26 23:35:34 +02:00
Pierre Muller
7438ea1d83 Remove references to fmtbcd (which is located in rtl-extra package) 2023-09-26 23:34:24 +02:00
Pierre Muller
42a1e42708 Set CLASSESDIR for OSes using unix/classes.pp source 2023-09-26 23:24:02 +02:00
Pierre Muller
4f055a9254 Add dependency of classes unit on sortbase 2023-09-26 23:23:21 +02:00
Pierre Muller
71ebbd7cc3 Use CLASSESUNIT variable instead of classes 2023-09-26 23:14:49 +02:00
Pierre Muller
820830cacc Remove references to variants, varutils, dateutil and fpmkunit units, all moved to packages long ago 2023-09-26 23:03:26 +02:00
Pierre Muller
f8e277ef0f Regenerate Makefile's after changes for DOTTED support 2023-09-26 22:48:55 +02:00
Pierre Muller
abf3ce721c Remove OS specific rules for sysutils unit and set SYSUTILS_DEPS_OS as needed 2023-09-26 22:48:55 +02:00
Pierre Muller
18c8066528 Modify POSIXINC value and set SYSUTILSDIR to POSIXINC for qnx OS 2023-09-26 22:48:55 +02:00
Pierre Muller
0ad0833294 Set SYSUTILSDIR variable for OSes using unix/sysutils.pp main source 2023-09-26 22:48:55 +02:00
Pierre Muller
541ba50269 Revert wrong substitution of classes and sysutils subdirectories inside wildcard calls 2023-09-26 22:48:55 +02:00
Pierre Muller
e8a03ac8bc Try to fix crash in loongarch64 compiler
loongarch64 compiler has a specific routine,
  called fixupref that generates some instructions that are
  stored into a tasmlist given as an input parameter.
  This function returns a boolean,
  if the return value is false, the populated list gets
  sometimes discarded.
  This can lead to a later crash, because the unused
  and freed instructions might have been stored
  in live and live_end fields of the reginfo record
  used inside rgobj unit.

  The fix checks if any of the to be discarded instructions
  has been stored inside reginfo records,
  and resets the field in that case.

  The fix might need to be more general,
  because other parts of the compiler,
  like all optimization code, also remove
  instructions...
2023-09-26 18:18:04 +00:00
Pierre Muller
5e6e24ec08 Rename fields of tspillregsinfo record to avoid having same field names as treginfo record 2023-09-26 18:18:04 +00:00
Pierre Muller
cbe5fabd3d Regenerate Makefile's after changes for DOTTED support 2023-09-26 15:31:09 +02:00
Pierre Muller
9f38ebf2c9 Remove OS specific dos unit rules, set DOSDIR or DOS_DEPS_OS as needed and use DOSUNIT variable 2023-09-26 15:31:02 +02:00
Pierre Muller
b36884c171 Remove OS specific rules for msmouse unit and use MSMOUSEUNIT variable 2023-09-26 15:31:02 +02:00
Pierre Muller
0e68dc575b Remove obsolete rule for gpm unit (now in rtl-extra package) 2023-09-26 15:31:02 +02:00
Pierre Muller
bb3f9a2454 Remove OS specific rules for cpu unit and use CPUUNIT variable 2023-09-26 15:31:02 +02:00
Pierre Muller
97c60e25a9 Replace sortbase by $(SORTBASEUNIT) in all OS Makefile.fpc 2023-09-26 15:31:02 +02:00
Pierre Muller
6b636fc22d Replace all objpas unit references by $(OBJPASUNIT) OS Makefile.fpc 2023-09-26 15:31:02 +02:00
Pierre Muller
bb20f8f318 Replace all objpas$(PPUEXT) by $(OBJPASUNIT)$(PPUEXT) in inc/Makefile.rtl 2023-09-26 14:21:36 +02:00
Pierre Muller
ececf26d87 Regenerate Makefile's after change to inc/Makefile.rtl 2023-09-26 01:02:46 +02:00
Pierre Muller
b12932c7f8 Handle specific main cwstring.pp source for android OS 2023-09-26 01:02:46 +02:00
Pierre Muller
48ea716826 Set special value for RTLDEFSINCDIR variable
for andrioid and targets using AMIINC variable.
  Add rtldefs.inc dependency for cwstring unit,
with RTLDEFSINCDIR directory.
2023-09-26 01:02:46 +02:00
Pierre Muller
2f8c0c091c Replace typinfo and types unit by TYPINFOUNIT and TYPESUNIT 2023-09-26 01:02:45 +02:00
Pierre Muller
3daac41f3d Handle typinfo unit for DOTTED 2023-09-26 01:02:45 +02:00
Pierre Muller
9db23894a5 Handle types unit for DOTTED 2023-09-26 01:02:45 +02:00
Pierre Muller
d956be796b Add windows specific unit dependencies for types unit 2023-09-26 01:02:45 +02:00
Pierre Muller
edc92f26ff Handle win16 specific units: wintypes winprocs and win31 for DOTTED 2023-09-26 01:02:44 +02:00
Pierre Muller
febb70688a Handle cwstring unit for DOTTED 2023-09-26 01:02:44 +02:00
Pierre Muller
2530ac2641 Commit new revision.inc 2023-09-25 21:04:36 +00:00
Pierre Muller
1d4d71b5a0 Prepare for use of fpmkunit table by adding o_none and c_none as first element in TOS and TCPU types 2023-09-25 20:47:44 +00:00