gcc -dumpversion on GCC >= 7 seems to provide the major version but the documentation suggests this depends on how it's configured.
We only need to test the major version so using compareVersions isn't required.
https://gcc.gnu.org/onlinedocs/gcc/Developer-Options.html states:
>Print the compiler version (for example, 3.0, 6.3.0 or 7)—and don’t do anything else. This is the compiler
>version used in filesystem paths and specs. Depending on how the compiler has been configured it can be
>just a single number (major version), two numbers separated by a dot (major and minor version) or three
>numbers separated by dots (major, minor and patchlevel version).
Ensure __gcc_version only contains the major version just in case in system.sh
Latest version (0.16) needs `gcc` 8 for C++20 features (`--std=c++2a`). This breaks the module for systems with older `gcc` (ex. Debian Stretch).
Added a new scriptmodule based on the previous version (0.15), which used SDL1 instead of SDL2, and keep the module flags from before a50179093.
Added a check for the `gcc` version in the SDL2 scriptmodule.
Update the emulator to the latest version, which is now using SDL2, so `dispmanx` is no longer required.
Modified the installation to include some utilities (might be useful for disc/cartridge manipulation) and to include the docs and license.
* create a launch script for switching folder for compatibility with runcommand setting SDL1_VIDEODRIVER
* reorder configuration and add logic to avoid running install code on removal
* change existing calls which used --strip-components
* use multiple parameters for arguments which should allow additional arguments with spaces
* implements #2630
* replace many of the existing wget | tar commands with the new function
* include error logging in the function via runCmd, to trap download/unpacking issues
* get rid of _INFMSGS and instead have a rp_module_help field with information in.
this can then be displayed in the setup menus, and not just after configuring.