Help porting newlib to a new CPU architecture (sorta)

Paul Koning paulkoning@comcast.net
Tue Jul 6 13:05:20 GMT 2021



> On Jul 6, 2021, at 12:35 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> 
> On 06 Jul 2021 02:49, ElijaxApps wrote:
>> I designed a Logisim schematic of a full system, able to run programs in
>> the simulation, as shown in this video:
>> 
>> https://www.youtube.com/watch?v=UP6tO8x5I5A
>> 
>> Is based on a SAP-1 (Simplest as Possible) basis, containing 4 GP registers
>> (8 bit), stack for function operations (up to 256 depth levels of
>> recursivity), 24bit plain RAM component, and a simple ALU able to echo
>> strings and perform not floating point math.
>> 
>> AFAIK, newlib is suitable for embedded devices, and I want to create the
>> full toolchain for C/C++ language at least.
> 
> i don't know that these would work that well (or at all) on an 8-bit CPU.
> you'd really want a 32-bit CPU nowadays as a minimum if you want to support
> modern software.

Consider the AVR toolchain, used in Arduino.  Isn't that an 8-bit machine?  It certainly is small.  

	paul




More information about the Newlib mailing list