-->
Page 1 of 6

gcc 8.2

PostPosted: Fri Apr 12, 2019 3:08 am
by eriksl
Using the esp-open-sdk and crosstool-ng from someburner, I simply selected gcc version 8.2, I wasn't expecting this to work, but it does!

So whoever is interested can switch to gcc 8.2 I guess. I haven't found any issues yet.

Using the same base I selected a newer "newlib" but that doesn't work, it doesn't build. It says "extensa" not supported. I guess there are some patches for xtensa required that are only available for the older newlib (2.0).

However the gcc was already a very nice surprise!

Re: gcc 8.2

PostPosted: Fri Apr 12, 2019 3:10 am
by eriksl
I also built a newlib that includes floating point and 64 bit support for printf and friends, which also works nicely.

Re: gcc 8.2

PostPosted: Sat Apr 13, 2019 7:00 pm
by davydnorris
Just saw in the RTOS SDK commits that they have a working newlib 3.0 so it's got to be possible. I'll have a look at croostool

Re: gcc 8.2

PostPosted: Sun Apr 14, 2019 2:35 am
by eriksl
Good to hear, but is it worth the effort? As for now I don't have any complains about newlib 2 ;-)