[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MiNT cross-compiler



Hi,

On 24.5.2023 19.19, John Paul Adrian Glaubitz wrote:
On Wed, 2023-05-24 at 19:11 +0300, Eero Tamminen wrote:
Atari MiNT "a.out" format support would also be needed in "binutils".

a.out support was removed in binutils, so you will have to use something
like elf2aout.

While there are newer GCC versions for MiNT provided by different
individuals, Debian packages remained at v4.x.  AFAIK GCC 4.x is used
for those because it generates best m68k code when one considers the
size of the generated code vs. its performance.

Did you try LLVM for m68k?

No, but there would not be much point yet. LLVM m68k port is still experimental and AFAIK missing too many features to be a GCC replacement (e.g. support for pc-relative addressing mode and coldfire).


	- Eero

(Choices done for optimizations in non-HW dependent parts of later GCC
versions favor more modern CPUs with larger caches and more RAM in
general, than typical m68k machines have.)

I.e. newer GCC versions are useful for MiNT mainly due to their support
for newer C++ versions.

Yes, indeed.

Adrian



Reply to: