2022-12-12 15:25:25 +01:00
|
|
|
#!/bin/sh
|
|
|
|
if [ -n "$1" ]; then CC="$1"; elif [ -z "$CC" ]; then CC="cc"; fi
|
|
|
|
|
2022-12-13 20:22:57 +01:00
|
|
|
echo "Built : `date -u +'%Y-%m-%d %H:%M:%S'`"
|
2022-12-12 15:25:25 +01:00
|
|
|
echo "Platform : `uname -s -r -v -m`"
|
|
|
|
echo "Target : `$CC -dumpmachine`"
|
2024-06-05 00:23:48 +02:00
|
|
|
echo "Compiler : `$CC -v 2>&1 | egrep -i '(gcc|clang)[[:space:]]+version' 2>/dev/null | head -n 1`"
|