Re:Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (...
by MobiusHorizons on Friday December 26, 2025 @12:52PM
(#46394371)
Very cool! What was the shell you are running in the demo video?
[ Parent
| on HN ]
Re:Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (...
by isitcontent on Friday December 26, 2025 @01:05PM
(#46394494)
Thanks! That is just my small custom experimental mini shell. This project started as a retro DOS-like cyberdeck, and first thing I tried to run there was DOS programs, which is why it looks like that. Only got to COM files, when I learned about elf_loader, so I now focus on that. I might extract and release whatever is valuable/reusable in that shell later on.
Re:Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (...
by MobiusHorizons on Friday December 26, 2025 @02:54PM
(#46395538)
Yeah, very cool. I was thinking about possibly porting it to risc-v and using it on my fpga based core. I was trying to build a monitor style shell, but C like environment would be very cool.
Re:Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (...
by isitcontent on Friday December 26, 2025 @03:05PM
(#46395666)
Porting to different CPU/bytecodes should be doable. Just keep in mind that in ESP-IDF we also get the dynamic linker and the libc for free (and any other C functions exposed in the firmware). On the other platforms, that may be some extra work for the compiler.
Re:Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (...
by MobiusHorizons on Friday December 26, 2025 @09:32PM
(#46398539)
Yea I was understanding that hurdle, but thanks for the reminder.
Re:Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (...
by guestbest on Friday December 26, 2025 @01:39PM
(#46394833)
Thanks for posting this here. I star’d the project. Getting a portable computer with a minimal flexible and previously well supported operating system was one of my goals for the esp32 as well. I’ll be watching for more.