Christoph Niethammer
7df26522c3
The version printed by GCC's -dumpversion option may only be a single number (the major version). Therefore use the -dumpfullversion option which guarantees to print the three numbers format 'major.minor.patchlevel'. Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
3 lines
112 B
Bash
3 lines
112 B
Bash
#!/bin/bash
|
|
COMPILER_OPTS="CC=gcc CXX=g++ F77=gfortran FC=gfortran"
|
|
COMPILER_VERSION_CMD="gcc -dumpfullversion"
|