The current build system is too restrictive. I did an ad-hoc fix to get my setup to work, but a proper solution should respect the following configuration options:
win32 vs posix
determines things like binary suffix or which libraries need to be linked (-lm -lpthread vs -lws2_32 -lmswsock ...)
win32 vs posix
determines the available build tools like cat vs type, rm vs del
gnu vs msvc
determines how arguments are passed to the compiler/linker and make vs nmake
this does not necessarily mean that the actual toolchain is used (the LLVM guys are working on their own linker right now) - it's about the argument format (gcc compatible vs cl/link compatible)
we keep a list of supported compilers so we can add proper warning and instrumentation options
the main use case would be clang support
i686-pc-cygwin, x86_64-w64-mingw32, ...
the host triple is used as prefix in case of gcc and if no compiler is chosen explicitly
they need to be passed to 3rdparty configure scripts
+1