• Should my understanding that the provision script only installs when a version of gcc is not present, then it is quite possible that the old gcc content is still there. It ran two years ago, but fails now.

    Yes, that's entirely possible. While I try and document what's needed in https://github.com/espruino/Espruino/blo­b/master/README_Building.md I can't document every eventuality - specifically that something has been set up on the computer beforehand that wouldn't normally be set up.

    The provision script does not permanently install GCC - it does it only for that session - so this exact thing does not happen. It is however possible that at some point you followed some steps you found on the forum or googled that would have permanently installed the compiler.

    I can't remember the specific version used but it's easy enough to find in scripts/provision.sh

  • Wed 2021.10.27

    'While I try and document what's needed in ... I can't document every eventuality'

    I'm totally with you here. Upon weeding through all the new terms, what is there is nicely laid out and well documented.

    A month ago when I first discovered the previous (2 yrs ago) install wasn't going to cooperate, I had this grandious idea to document step-by-step in order to create a nice pictorial tutorial for Win10 machines.

    Four weekends of fun and surprises has exposed the reality that there are too many permutations and combinations of the individuals parts that are required to allow that incredibly complex process to function 100% of the time.

    And as you have pointed out, every eventuality is just too complex to create a single tutorial. Each user will have it's own nuances and installed program structure, along with an unknown level of updates that may or may not be current and at the level needed for the scripts to run. The only real way is exactly how I'm floundering right now, just keep asking questions to resolve each hiccup along the way. Painful, . . . and an incredibly steep learning curve.

    As your nicely laid out step-by-step process is the simple basic process that will work when understood, it is in fact the better way to get individuals started.


Avatar for Robin @Robin started