Commit Graph

273 Commits

Author SHA1 Message Date
Pierre Muller
d9ad6bdd1f Avoid troubles with exported directories 2023-10-03 10:14:04 +00: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
484c178c15 Add new make variable BETATARGETS, for CPU targets in beta stage, to include it into distclean list 2023-05-26 11:32:16 +00:00
Jinyang He
12c4290ffe Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
florian
7dc2a61788 * comment for git fixed 2022-10-01 19:04:09 +02:00
florian
eaeb8b70ff + added Risc-V register information file generation to the compiler Makefile
* more stringent naming of register file information for Risc-V
2022-05-31 22:38:30 +02:00
Pierre Muller
8512d7ac8f Add x86_64 CPU to list requiring fpux80 support 2022-03-30 15:10:30 -06:00
Pierre Muller
01ae235676 Fix CPU_clean rule 2022-03-07 21:45:32 +00:00
Pierre Muller
853f8b2202 Also define CPU_clean make targets for CPUs not yet in CYCLETARGETS, like mips64 now 2022-03-07 18:40:40 +00:00
florian
b2eaa4e701 + some MIPS64 stuff added to the Makefiles 2022-02-02 22:14:43 +01:00
Pierre Muller
9c20a033e0 Fix fullinstall make target 2022-01-24 15:16:26 +00:00
Florian Klämpfl
67b08734cf * to avoid that -Xg causes a failure during comparing ppc3.exe and ppc386.exe on windows, during the last compiler compilation step, the
same executable name is used
2021-09-08 21:06:30 +02:00
Pierre Muller
810de9eaca Try to avoid infinite loop for revision target on svn repo 2021-09-06 23:31:20 +02:00
florian
b3bf183fd3 * pass the final name of the compiler executable when compiling the compiler to avoid
moving the executable afterwards, this allows proper stack dumps with line numnbers
    on OSes with external debugging information (darwin)
2021-09-05 16:48:01 +02:00
florian
b4f939a4ab * check if git executable really exists 2021-09-01 09:29:50 +02:00
Don
aecec2f6df Allow custom definition of GIT. 2021-09-01 09:29:50 +02:00
florian
27529a7e74 * always use $(GIT) to call git 2021-09-01 09:29:50 +02:00
florian
838cc89fac * properly check if -unpushed should be appended in revision.inc 2021-09-01 09:29:50 +02:00
florian
4c1eb4e454 + include -unpushed in revision.inc if not all changes are pushed to the remote 2021-08-17 15:43:53 +02:00
florian
0ff3f04700 * use git describe to create a revision.inc if a .git dir is found 2021-08-16 21:24:49 +02:00
pierre
dd9179043e Fix message about unsupported OS_TARGET for LLVM
git-svn-id: trunk@49330 -
2021-05-03 16:10:59 +00:00
pierre
43c50d0a32 Remove unused, obsolete -dBROWSERLOG option
git-svn-id: trunk@49246 -
2021-04-22 15:26:15 +00:00
pierre
3ac0522f70 Add sinclairql to NO_NATIVE_COMPILER_OS_LIST
git-svn-id: trunk@49133 -
2021-04-07 15:49:31 +00:00
nickysn
4be5609809 + added wasm32 to the list of targets that don't support a native compiler
git-svn-id: branches/wasm@48952 -
2021-03-13 21:56:01 +00:00
nickysn
f8052134e3 * synchronized with trunk
git-svn-id: branches/wasm@48906 -
2021-03-08 00:52:43 +00:00
pierre
3dd6272891 Add new make rule named full_targets
git-svn-id: trunk@48882 -
2021-03-06 10:42:50 +00:00
nickysn
940738a3a1 * synchronized with trunk
git-svn-id: branches/wasm@48846 -
2021-03-01 13:21:24 +00:00
pierre
e2386ae876 * Remove obsolete -OG2p3 option for extcycle
+ Add extoptcycle to cycle compiler with both -dEXTDEBUG and -dDEBUG_ALL_OPT

git-svn-id: trunk@48801 -
2021-02-24 10:40:15 +00:00
nickysn
d7df2d45c6 * synchronized with trunk
git-svn-id: branches/wasm@48680 -
2021-02-14 23:47:42 +00:00
Jonas Maebe
03bfe3234d * correctly handle multiple codesign binaries in the PATH
git-svn-id: trunk@48664 -
2021-02-13 08:19:30 +00:00
nickysn
a74024e7d5 * synchronized with trunk
git-svn-id: branches/wasm@48654 -
2021-02-12 01:54:24 +00:00
Jonas Maebe
91d877919e * strip codesignature when comparing compiler binaries on Darwin
o fixes non-converging "make cycle" on macOS/AArch64 with DEBUG=1

git-svn-id: trunk@48518 -
2021-02-07 14:40:14 +00:00
nickysn
578750a646 * synchronized with trunk
git-svn-id: branches/wasm@47135 -
2020-10-19 05:06:33 +00:00
florian
201281ae2a * compiler Makefile checks if SOURCE_SOURCE_DATE_EPOCH_DATE is set or if git is used, in either case the former or the latter are used for the build date reported by the compiler
git-svn-id: trunk@47133 -
2020-10-18 17:13:39 +00:00
nickysn
8f059a6b8a * synchronized with trunk
git-svn-id: branches/wasm@47106 -
2020-10-14 02:41:25 +00:00
florian
23af096ef6 * copy only the instruction table related inc files during make insdat
git-svn-id: trunk@47081 -
2020-10-10 21:08:16 +00:00
nickysn
fd772822d1 * synchronized with trunk
git-svn-id: branches/wasm@47045 -
2020-10-03 21:39:57 +00:00
pierre
399552d350 Refactor setting of NoNativeBinaries:
Added NO_NATIVE_COMPILER_CPU_LIST and NO_NATIVE_COMPILER_OS_LIST
  Set NoNativeBinaries if target CPU is different from source CPU 
  and target CPU is in NO_NATIVE_COMPILER_CPU_LIST.
  Set NoNativeBinaries if target OS is different from source OS 
  and target CPU is in NO_NATIVE_COMPILER_CPU_LIST.
  Add FORCE_NATIVE_BINARIES variable to be able to overrule
  default behavior of NoNativeBinaries=1

git-svn-id: trunk@47043 -
2020-10-03 15:27:57 +00:00
nickysn
9cc67f4bf8 * synchronized with trunk
git-svn-id: branches/wasm@46538 -
2020-08-21 21:20:41 +00:00
pierre
85d19af48c * Remove debug ECHO lines
* Fix detection of -dFPC_SOFT_FPUX80, as OPT is reset after
     being copied over to LOCALOPT.
   + Add FULL_TARGETS that list all targets concerned by fullcyle and associated targets.

git-svn-id: trunk@46532 -
2020-08-21 09:13:59 +00:00
nickysn
c1197ddb90 * synchronized with trunk
git-svn-id: branches/wasm@46529 -
2020-08-20 21:45:40 +00:00
pierre
b1ee6f7fdc Fix error in previous commit
Try to avoid unneeded steps for fullinstallsymlink

git-svn-id: trunk@46510 -
2020-08-20 16:01:34 +00:00
pierre
ac36a214bf Do not set EXCLUDE_80BIT_TARGETS to 1 if OPT variable contains -dFPC_SOFT_FPUX80
git-svn-id: trunk@46507 -
2020-08-20 13:17:59 +00:00
nickysn
26207eef00 * the wasm target in the makefiles renamed wasm32
git-svn-id: branches/wasm@46252 -
2020-08-05 14:23:56 +00:00
nickysn
62cb7c2d12 * synchronized with trunk
git-svn-id: branches/wasm@46214 -
2020-08-03 21:15:39 +00:00
nickysn
936df34f5e + added wasm regdat regeneration to the compiler makefile
git-svn-id: branches/wasm@46205 -
2020-08-03 19:14:03 +00:00
nickysn
a893f06813 [PATCH 55/83] minor fixes and cleanups for the wasm target (#1)
* wasm: add support to the Makefile.fpc files. Makefiles needs to be regen'd

* wasm: include fpcdefs.inc in all units

* wasm: one more missing fpcdefs.inc

* wasm: define some system macro defaults

* + increase the size of some tsysteminfo fields, as wasm uses longer names, this fixes some warnings

* wasm: fixed mkwasmreg program name

* wasm: don't override MakeCmdLine, the inherited function serves us just fine, as it also replaces . Also fixes a warning about result being uninitialized

From 3f1ed3fd157d3ed217ef8845ade8e3e3630f424b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?K=C3=A1roly=20Balogh?= <charlie@amigaspirit.hu>
Date: Mon, 23 Sep 2019 04:08:46 +0200

git-svn-id: branches/wasm@45932 -
2020-07-29 19:02:27 +00:00
Jonas Maebe
e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS
* rename the m68k/PowerPC-MacOS targets to m68k/PowerPC-MacOSClassic
  * repurpose the AArch64/Darwin target for AArch64/macOS
   o make AArch64-Darwin default target for a hosted AArch64-Darwin compiler

git-svn-id: trunk@45758 -
2020-07-10 21:52:24 +00:00
pierre
a62534d11f Add z80 to PPC_TARGETS to reove ppcz80 on clean
git-svn-id: trunk@45754 -
2020-07-10 09:38:27 +00:00
florian
72f6752b1c + add intrdat target
git-svn-id: trunk@45726 -
2020-07-03 21:12:06 +00:00