conftest.exe is built, it fails for 'version' though:
+ CONFTEST=./conftest.exe
+ test -z ''
+ gcc -o ./conftest.exe /c/Users/austin/Documents/tinycc/conftest.c
++ ./conftest.exe bigendian
+ bigendian=no
++ ./conftest.exe version
+ gcc_major=
++ ./conftest.exe minor
+ gcc_minor=8
+ test yes = no
a simple patch fixes it:
diff --git a/configure b/configure
index 8c44e5c..c05315f 100755
--- a/configure
+++ b/configure
@@ -299,8 +299,8 @@ if test -z "$cross_prefix" ; then
echo "configure: error: '$cc' failed to compile conftest.c."
else
bigendian="$($CONFTEST bigendian)"
- gcc_major="$($CONFTEST version)"
- gcc_minor="$($CONFTEST minor)"
+ gcc_major="$($CONFTEST v)"
+ gcc_minor="$($CONFTEST m)"
if test "$mingw32" = "no" ; then
triplet="$($CONFTEST triplet)"
if test -f "/usr/lib/$triplet/crti.o" ; then