Hi,
This is cool.
Two remarks:
- it would be nice to have tcc supported as an official compiler along
gcc and llvm. Probably just for fun with no "commercial interest" for nuttx.
- in the 80s, CP/M had C compilers that executed in less than 64k of RAM...
Sebastien.
Le 05/02/2024 à 05:16,
<< It would be nice if we could get TCC integrated on apps/ to run inside
MCUs
with much memory (like STM32 with external SDRAM), ESP32, BL808, etc. >>
Thanks Alan! We have a couple of issues that might affect TCC Compiler on
NuttX:
(1) RISC-V Registers are mixed up when TCC emits code for NuttX
Hi Lup,
Congratulations! That was a great achievement!!!
It would be nice if we could get TCC integrated on apps/ to run inside MCUs
with much memory (like STM32 with external SDRAM), ESP32, BL808, etc.
Best Regards,
Alan
On Sat, Feb 3, 2024 at 8:08 PM Lee, Lup Yuen wrote:
> Today we're runn
Today we're running NuttX Emulator inside a Web Browser. What if we could
build and test NuttX Apps in the Web Browser? Learning NuttX becomes so
cool!
Let's explore with TCC (Tiny C Compiler) for 64-bit RISC-V, compiled to
WebAssembly with Zig Compiler...
(1) Zig Compiler compiles TCC Compiler t