It's an issue with globbing, see https://sourceforge.net/p/mingw/bugs/2062/
There's a workaround: diff --git a/conftest.c b/conftest.c index 53c181c..18d763c 100644 --- a/conftest.c +++ b/conftest.c @@ -37,6 +37,10 @@ # define TRIPLET TRIPLET_ARCH "-" TRIPLET_OS "-" TRIPLET_ABI #endif +#if defined(_WIN32) +int _CRT_glob = 0; /* See https://sourceforge.net/p/mingw/bugs/2062/ */ +#endif + int main(int argc, char *argv[]) { switch(argc == 2 ? argv[1][0] : 0) { I can push to mob, if that is acceptable. On Mon, Feb 3, 2014 at 9:29 PM, Austin English <[email protected]>wrote: > Reported to MinGW: > http://sourceforge.net/p/mingw/bugs/2182/ > > > On Thu, Jan 23, 2014 at 6:07 PM, grischka <[email protected]> wrote: > >> Austin English wrote: >> >>> It fails with gcc-4.8.1, gcc-4.7.2 and gcc-4.6.2 I also tried gcc-4.5.2, >>> but that failed to compile at all. >>> >> >> Here using gcc-4.7.2, shell from git, no AV, works. >> >> >> --- grischka >> >> >> _______________________________________________ >> Tinycc-devel mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/tinycc-devel >> > > > > -- > -Austin > -- -Austin
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
