Advanced Users can post their questions and comments here for the not so Newbie crowd.

Moderator: eriksl

User avatar
By davydnorris
#91021 Hey Erik,

So sorry I haven't looked at this yet! Been bogged down in other work and the UI for my sensors.

This is my file set that I have used to migrate the esp toolchain to later versions of gcc. I haven't done this for quite a while so it's very likely that there will be other changes needed, but if you look at the directory structure of the changes, you should be able to find out where to look and what to change.

The notes file is very rough too - it's all meant for me to remind myself what to do, but hopefully it will give you a start. Feel free to work through the process in this topic!!!

Start with the file crosstool-NG changes.txt
You do not have the required permissions to view the files attached to this post.
User avatar
By davydnorris
#91043 This is also useful - the original crosstool-NG config I was using is the repo by jcmvbkbc but that's now looking pretty stale. Espressif has been doing active work on a fork of it, and are using it for both ESP8266 and ESP32, so I would also look at their patches as well

https://github.com/espressif/crosstool-NG
User avatar
By eriksl
#91177 I am looking into it now. I have one question and one observation. The observation is that the Espressif branch still uses gcc 8, so I don't think that will be usable for my goal. The question is: how do you finally instruct crosstool-NG to build gcc 10? I don't see any patches that change the branch or add an URI for gcc. It looks like you actually check out the latest branch/commit from crosstool-NG (probably the jcmvbkbc fork?) and then apply the patches (and otherwise changes) you sent me? I see there are not specific patches for gcc > 6, they're not required?