tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Running 'make test' on windows?


From: Austin English
Subject: Re: [Tinycc-devel] Running 'make test' on windows?
Date: Tue, 4 Feb 2014 11:43:24 -0800

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 <address@hidden> wrote:
Reported to MinGW:
http://sourceforge.net/p/mingw/bugs/2182/


On Thu, Jan 23, 2014 at 6:07 PM, grischka <address@hidden> 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel



--
-Austin



--
-Austin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]