On 11/5/2024 8:35 PM, Byron Ellacott wrote:
Hi Takashi,
ideally, we should use int64_t for all targets unconditionally, IMO.
however, in practice, 64-bit integers don't seem available for some of
our targets. (ez80, z8, z16)
maybe someone can add 64-bit integer support to their toolchains. but
i suppose we don't want to wait for it to happen.
No, you wouldn't want to wait for that, it's highly unlikely that ZDS-II
will ever get a substantial update and the community compiler options
all have their own issues and limitations. Much as I'd love to say that the
unofficial (e)Z80 clang target solves all problems, it's a few major
versions behind llvm now and my ELF patch for it is likewise not current -
it'd be a bit of effort for someone to actually use this option.
ZDS-II is no longer an option anyway. Changes in function prototypes
and definitions of data types has made ZDS-II unusable (and that is
really probably OK). Recent eZ80 builds have used an experimental
version of GCC.
zNEO (z16) and z8 are no long supportable without ZDS-II. Other z80s
don't work with common small compilers like SDCC anymore.