Using Emscripten?

Richard Moore me@ricmoo.com
Mon Aug 14 01:58:52 GMT 2023


Hi all!

I’ve been trying to figure out how to configure CC and CXX for the “internal” build (meta build?), or possible make a custom host?

In a nutshell, the goal is to create the dev tools as a bunch of emscripten (using emcc) blobs that I can string together with JavaScript wrappers so that I can compile C to RISC-V in JavaScript, both in the browser and in node, for a platform-independent build system.

I’ve been working with the Espressif fork thus far, since that is what the final target will be; write C in your browser and deploy directly to an ESP32-C3 from the browser.

I’ve tried changing the CT_CC to emcc (from gcc) without luck. Any guidance or suggestions would be greatly appreciated.

Thanks! :)

RicMoo

Sent from my self-aware iPhone

.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸><(((º>

Richard Moore ~ Founder
Genetic Mistakes Software Inc.
phone: (778) 882-6125
email: ricmoo@geneticmistakes.com
www: http://GeneticMistakes.com


More information about the crossgcc mailing list