Page 1 of 1

Building the build tools?

Posted: Thu Aug 31, 2023 6:43 pm
by firefly
Heya!

I was wondering which is the most recent and correct repo and branch to use for build tools, especially the gcc compiler. The gcc repo seems older, as does the crosstool-NG repo.

I’m trying to build the entire build system using emscripten so that I can create a portable JavaScript version of gcc, etc. so C programs can be compiled in the browser (or in node.js) for a universally compatible, platform-agnostic way for the risc-v ESP32 devices.

If anyone has any additional suggestions to that end, that is also greatly appreciated. :)

Thanks,
RicMoo

Re: Building the build tools?

Posted: Fri Sep 01, 2023 6:20 am
by vanBassum
https://docs.docker.com/desktop/wasm/
https://docs.espressif.com/projects/esp ... cker-image

This might be simpler, just run a container with the tool chain to compile whatever you want. Also, when a new tool chain becomes available. You can just update the container to the latest version.