Building the build tools?

firefly
Posts: 1
Joined: Thu Aug 31, 2023 6:34 pm

Building the build tools?

Postby firefly » Thu Aug 31, 2023 6:43 pm

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

vanBassum
Posts: 68
Joined: Sun Jan 17, 2021 11:59 am

Re: Building the build tools?

Postby vanBassum » Fri Sep 01, 2023 6:20 am

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.

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot], Majestic-12 [Bot] and 292 guests