tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Retargeting TCC to a 8bit device


From: Harri Haataja
Subject: Re: [Tinycc-devel] Retargeting TCC to a 8bit device
Date: Tue, 10 Nov 2020 23:53:29 +0200

On Tue, 10 Nov 2020 at 22:29, Bill Gaylord <chibill110@gmail.com> wrote:
> I am wondering if anyone has had an experience retargeting TCC to a 8bit 
> micro or cpu? I am working on a homebrew CPU (have an emulator need to work 
> on the hardware.) and I want to be able to write C code for it instead of 
> just pure assembly.
>
> My only concern so far with looking at how to retarget it myself is that TCC 
> needs you to have floating point available.  Or am I just reading the 
> document incorrectly?
>
> Also I am wondering if I could not support some features of C in TCC. (For 
> example. I literally can't do a long without using up 4 registers per number.
>
> Also any pointers would be appreciated.


That sounds like a very interesting idea. I have no idea if tcc can do
it, but it would be nice to see some "competition" for SDCC if it
turns out that tcc (or some fork) would be good with small CPUs.



reply via email to

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