Does provision check correct version for ARM boards ? #6147
Replies: 1 comment
-
Posted at 2019-03-11 by @gfwilliams Yes, if you have an For most people they won't have the compiler installed, or if they installed it, it's because they have a compiler they're happy with, so it hasn't been an issue thus far. Posted at 2019-04-21 by JumJum For some weeks now, it is best solution to use gcc-arm-none-eabi-8-2018-q4-major
Since I'm not an expert in this area, could please someone check Posted at 2019-04-23 by @gfwilliams That all sounds right to me I think?
Since Posted at 2019-04-23 by JumJum Would you see any possible problems, to install V8 always and changing sequence, so that v8 is always searched first ? Posted at 2019-04-23 by @gfwilliams Yes, I think there would be problems - people may well want to use their own compiler, especially if v9 gets released and we're still on v8. I don't think changing the path order would be a big problem though. Maybe a However since this would appear to be for your tool, it might make sense to just modify your tool such that the existing Posted at 2019-04-23 by JumJum Removing is not a good solution for me. Looke like I'll need something like an "provision.sh-changed-event" and do the job manually. Posted at 2019-04-24 by @gfwilliams Surely just removing the tool from the path for that one session is absolutely fine - it's not like it's global. For instance adding the command:
to your script would remove any path entry containing the text (you probably want to run |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-03-09 by JumJum
Looks like provision.sh first checks for existance of compiler (line 175)
This returns true for any arm-none-eabi-gcc, even very old versions
So it never reaches line 183/184
Is my assumption correct, or is there some misunderstanding on my side
Beta Was this translation helpful? Give feedback.
All reactions