[PATCH] gas: z80: allow -c option for compatibility
Andreas Schwab
schwab@suse.de
Thu Jun 26 14:14:12 GMT 2025
On Jun 26 2025, Zeal8bit wrote:
> I encountered an issue when making a CMake-based project that uses `z80-elf-as` as the assembler.
> The option `-c` is always generated to assemble a file, and it triggers the following error:
That's because the assembler should never be called directly, only via
the compiler driver. The correct fix is to tell cmake to use the
compiler driver (z80-elf-cc) for compiling assembler sources.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Binutils
mailing list