tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] add an executable format?


From: Brian Callahan
Subject: Re: [Tinycc-devel] add an executable format?
Date: Thu, 19 Jan 2023 01:05:54 +0000

Hello --

On 1/17/2023 2:23 AM, tccm wrote:
> On Mon, Jan 16, 2023 at 05:21:26PM +0100, tccm wrote:
>> 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.
> 
> Answering an off-list question:
> 

Guessing I'm the off-list question.
I found an elf2aout converter for Minix buried in the Minix3 source tree.

Here is a patch to generate a.out executables. As I don't have a Minix2
machine, I can't verify it works. But it should get you there, or very
close to there. If there's some VirtualBox image of Minix2 that I can
download, I can test myself. As this will only work with i386 Minix2, I
don't think it's worthy of incorporation into the tcc tree. Having it
on-list will preserve the history, which is probably good enough for any
potential future maintenance of this patch.

You will need to apply the patch and then run the configure script with
the new --aout flag.

HTH.

~Brian

Attachment: minix.diff
Description: Text document


reply via email to

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