Closed markdewing closed 2 years ago
The compiler version check added in #280 fails on Ubuntu. Symptoms
/bin/sh: 1: 903: not found Makefile: 19: *** This program requires GCC 8.0 or later, but the current compiler is GCC 9.3. Stop.
The makefile shell command for the comparison calls out to the default shell. On Ubuntu, that is dash. The comparison uses a bash extension.
shell
Workarounds:
Use SHELL=/bin/bash
test
(( ))
@markdewing thank you for reporting this.
Can you check that #284 fixes the issue for you ?
Yes, #284 fixes the issue on my machine.
:+1:
The compiler version check added in #280 fails on Ubuntu. Symptoms
The makefile
shell
command for the comparison calls out to the default shell. On Ubuntu, that is dash. The comparison uses a bash extension.Workarounds:
Use SHELL=/bin/bash
in the Makefiletest
rather than(( ))
in the comparison