tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] add an executable format?


From: tccm
Subject: [Tinycc-devel] add an executable format?
Date: Mon, 16 Jan 2023 17:21:26 +0100

Hello,

Would it be acceptable to add support for the mostly obsolete, but in
rare cases useful a.out executable format?

This would allow use of the compiler on platforms like Minix-2 on i386
in 32-bit mode.

Tinycc is buildable on Minix-2 and provides there an independent
toolchain.

Unfortunately, to run the resulting executables, they have to be
converted to the Minix a.out format. This works when testing with an
elf2aout converter, but is a remarkable inconvenience.

Would some developer familiar with the tinycc internals be kind to help
with adding the needed minimal aout support, by giving directions
for the modification or, best of all, by adding the support?

There is no need to handle aout object files, only statically linked
executables.

As a compile-time option this would not weigh down tinycc on other
platforms.

What do you think?

Kudos to the developers for tinycc, compact and capable as it is.
/tccm




reply via email to

[Prev in Thread] Current Thread [Next in Thread]