Hello Miquel.
On 06.09.22 10:21, Miquel Raynal wrote:
Those instructions do not work anymore for several reaons:
- Two out of the three files to download return a 404 error:
* The binutils version does not exist, it was 2.21.1 or 2.21.1a
instead of just 2.21.
* The avr-libc is no longer hosted on the pointed website, I've
found an alternate.
- The binutils version mentioned is not able to compile the firmware on
a recent distribution, the Internet advised to update its version and
it worked.
- Most of these compilations will throw warnings if you use a recent
gcc. Sometimes -Werror is set and it fails the build. To avoid that,
just use --disable-werror in the ./configure options.
- I had issues building the gcc doc but those issues are trivial to
fix inline.
Update the instructions for building the toolchain and while at it,
start the file by mentioning that this is maybe not useful anymore, and
provide the packets to install.
I can see that it was a frustrating process to get this working. :/
Sorry to hear. The truth is only a handful of people did ever build the
firmware themself, I think. Even I have not done it in a while. (ugh, 5
years ago most likely judging from the git log).
regards
Stefan Schmidt