TARGET_x64_SYSV define #294
Replies: 3 comments 3 replies
-
Almost. TARGET_x64_SYSV is for non-Windows x86-64 machines like Linux and Intel-based MacOSX. For the AArch64 architecture, I'll request a TARGET_AARCH64 or TARGET_ARM64 or some such. I want to be doubly sure that at least some of the test suite can run under FPC though to make sure I don't screw things up! P.S. Thank you though! |
Beta Was this translation helpful? Give feedback.
-
Since
Normally we would just handle a new or unknown architecture with the all-or-nothing define
Suggestions? Regardless I will need to change the recent TARGET_* handling in GR32_Math so it doesn't fail with "Missing target" at compile time: graphics32/Source/GR32_Math.pas Lines 261 to 275 in 5e73183 |
Beta Was this translation helpful? Give feedback.
-
I just pushed a proposed solution to the TARGET_x86/TARGET_x64/TARGET_x64_SYSV/PUREPASCAL problem: 8881f53 Anyway, I'm too busy to explain the code right now. I'll try to find time later. |
Beta Was this translation helpful? Give feedback.
-
A new compiler define,
TARGET_x64_SYSV
, has been added toGR32_Compiler.inc
(currently only in the TARGET_x64_SYSV branch).The symbol is defined when both
FPC
andCPUX86_64
are defined butMSWINDOWS
is not defined and is mutually exclusive to theTARGET_x86
andTARGET_x64
defines.The primary purpose, right now, is to enable @CuriousKit to add support for FPC targeting [some x64 architecture other than Windows (see next msg)]
the Raspberry Pi running Arch Linux ARM on the ARM64/Aarch64 architecture.Beta Was this translation helpful? Give feedback.
All reactions