[Coco] Cross compiling OS-9 C
Walter Zambotti
zambotti at iinet.net.au
Sun Apr 26 04:48:35 EDT 2020
I did some work on the c.opt c.comp cprep19 (and also cc2.5.3 &
ansifront) so that it would compile on and run on Linux.
I fixed a number of incompatibilities and got it working to the point
where it creates identical asm output as the cc compiler on Nitros-9.
You can find the source on my github:
https://github.com/WallyZambotti/Nitros9-CC-CrossCompiler.git
I tested the asm output it generated which worked under Nitros-09.
I was looking for source for the assembler and linker to finish off the
suite but never found them!
Walter
On 2020-04-26 05:59, Michael Furman wrote:
> Allen there is a cross compiler that someone did. It mostly works but it requires an older pre-lwasm tool chain (rma, rlink, mamou)
>
> I haven’t tried to make this work recently but I can give it a shot and see if I am get it running:
>
> https://github.com/n6il/MicrowareCCC
>
>
> Sent from my iPhone
>
>>> On Apr 25, 2020, at 11:50, Allen Huffman <alsplace at pobox.com> wrote:
>> On Apr 25, 2020, at 1:35 PM, tim lindner <tlindner at macmess.org> wrote:
>>>> On Sat, Apr 25, 2020 at 10:59 AM Allen Huffman <alsplace at pobox.com <mailto:alsplace at pobox.com>> wrote:
>>>> Does this support the old K&R style calls as well, but adds the new convention?
>>> Cmoc does not support K&R syntax.
>> Ah, good to know. Okay, so the answer is no, there is no way to cross compile all the old OS-9/6809 C code at this time.
>>
>> As I set everything up for this, I’ll be writing an article documenting all my steps.
>>
>> — A
>>
>>
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list