@xnetx/tinyc-native-x86_64-w64-mingw32 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/natives/x86_64-w64-mingw32/toolchain/x86_64-w64-mingw32/tinyc.exe +0 -0
  2. package/package.json +1 -1
  3. package/sysroot/x86_64-w64-mingw32/include/tinyc_io.h +131 -131
  4. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/_mingw.h +171 -171
  5. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/arm_neon.h +3585 -0
  6. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/assert.h +62 -62
  7. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx2intrin.h +93 -0
  8. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512bwintrin.h +128 -0
  9. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512cdintrin.h +31 -0
  10. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512dqintrin.h +123 -0
  11. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512fintrin.h +1075 -0
  12. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vbmiintrin.h +30 -0
  13. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vlintrin.h +1633 -0
  14. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vnniintrin.h +33 -0
  15. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avxintrin.h +675 -0
  16. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/conio.h +409 -409
  17. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/ctype.h +281 -281
  18. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dir.h +31 -31
  19. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/direct.h +68 -68
  20. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dirent.h +135 -135
  21. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dos.h +55 -55
  22. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/emmintrin.h +213 -0
  23. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/errno.h +75 -75
  24. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/excpt.h +123 -123
  25. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/f16cintrin.h +29 -0
  26. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fcntl.h +52 -52
  27. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fenv.h +108 -108
  28. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/float.h +75 -75
  29. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fmaintrin.h +141 -0
  30. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/immintrin.h +21 -0
  31. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/inttypes.h +297 -297
  32. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/io.h +418 -418
  33. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/iso646.h +36 -36
  34. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/limits.h +116 -116
  35. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/locale.h +91 -91
  36. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/malloc.h +181 -181
  37. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/math.h +497 -497
  38. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/mem.h +13 -13
  39. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/memory.h +40 -40
  40. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/process.h +176 -176
  41. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/riscv_vector.h +12334 -0
  42. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/conio_s.h +42 -42
  43. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/crtdbg_s.h +19 -19
  44. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/io_s.h +33 -33
  45. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/mbstring_s.h +52 -52
  46. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/search_s.h +25 -25
  47. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stdio_s.h +145 -145
  48. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stdlib_s.h +67 -67
  49. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stralign_s.h +30 -30
  50. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/string_s.h +41 -41
  51. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/sys/timeb_s.h +34 -34
  52. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/tchar_s.h +266 -266
  53. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/time_s.h +61 -61
  54. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/wchar_s.h +128 -128
  55. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/setjmp.h +199 -199
  56. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/share.h +28 -28
  57. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/signal.h +63 -63
  58. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/smmintrin.h +74 -0
  59. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdalign.h +16 -16
  60. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdarg.h +14 -14
  61. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdatomic.h +171 -171
  62. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdbool.h +11 -11
  63. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stddef.h +39 -39
  64. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdint.h +212 -212
  65. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdio.h +429 -429
  66. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdlib.h +606 -606
  67. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdnoreturn.h +7 -7
  68. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/string.h +164 -164
  69. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/fcntl.h +13 -13
  70. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/file.h +14 -14
  71. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/locking.h +30 -30
  72. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/stat.h +290 -290
  73. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/time.h +69 -69
  74. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/timeb.h +133 -133
  75. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/types.h +123 -123
  76. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/unistd.h +14 -14
  77. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/utime.h +146 -146
  78. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tcc/tcc_libm.h +618 -618
  79. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tccdefs.h +338 -338
  80. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tcclib.h +82 -82
  81. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tchar.h +1102 -1102
  82. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tgmath.h +89 -89
  83. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/time.h +287 -287
  84. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tmmintrin.h +19 -0
  85. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/uchar.h +33 -33
  86. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/unistd.h +1 -1
  87. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/vadefs.h +11 -11
  88. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/values.h +4 -4
  89. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/varargs.h +12 -12
  90. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/wchar.h +873 -873
  91. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/wctype.h +172 -172
  92. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/basetsd.h +149 -149
  93. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/basetyps.h +85 -85
  94. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/guiddef.h +156 -156
  95. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/poppack.h +8 -8
  96. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack1.h +8 -8
  97. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack2.h +8 -8
  98. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack4.h +8 -8
  99. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack8.h +8 -8
  100. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/qos.h +72 -72
  101. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/shellapi.h +59 -59
  102. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winbase.h +2966 -2966
  103. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/wincon.h +309 -309
  104. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/windef.h +293 -293
  105. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/windows.h +127 -127
  106. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winerror.h +3166 -3166
  107. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/wingdi.h +4080 -4080
  108. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winnls.h +778 -778
  109. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winnt.h +5994 -5994
  110. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winreg.h +272 -272
  111. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winsock2.h +1474 -1474
  112. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winuser.h +5652 -5652
  113. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winver.h +160 -160
  114. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/ws2ipdef.h +21 -21
  115. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/ws2tcpip.h +391 -391
  116. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/xmmintrin.h +170 -0
  117. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/gdi32.def +337 -337
  118. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/kernel32.def +776 -776
  119. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/libtcc1.a +0 -0
  120. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/msvcrt.def +1320 -1320
  121. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/runmain.o +0 -0
  122. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/user32.def +658 -658
  123. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/ws2_32.def +198 -198
  124. package/sysroot/x86_64-w64-mingw32/manifest.json +1 -1
@@ -1,82 +1,82 @@
1
- /* Simple libc header for TCC
2
- *
3
- * Add any function you want from the libc there. This file is here
4
- * only for your convenience so that you do not need to put the whole
5
- * glibc include files on your floppy disk
6
- */
7
- #ifndef _TCCLIB_H
8
- #define _TCCLIB_H
9
-
10
- #include <stddef.h>
11
- #include <stdarg.h>
12
-
13
- /* stdlib.h */
14
- void *calloc(size_t nmemb, size_t size);
15
- void *malloc(size_t size);
16
- void free(void *ptr);
17
- void *realloc(void *ptr, size_t size);
18
- int atoi(const char *nptr);
19
- long int strtol(const char *nptr, char **endptr, int base);
20
- unsigned long int strtoul(const char *nptr, char **endptr, int base);
21
- void exit(int);
22
- void *alloca(size_t);
23
-
24
- /* stdio.h */
25
- typedef struct __FILE FILE;
26
- #define EOF (-1)
27
- extern FILE *stdin;
28
- extern FILE *stdout;
29
- extern FILE *stderr;
30
- FILE *fopen(const char *path, const char *mode);
31
- FILE *fdopen(int fildes, const char *mode);
32
- FILE *freopen(const char *path, const char *mode, FILE *stream);
33
- int fclose(FILE *stream);
34
- size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream);
35
- size_t fwrite(void *ptr, size_t size, size_t nmemb, FILE *stream);
36
- int fgetc(FILE *stream);
37
- char *fgets(char *s, int size, FILE *stream);
38
- int getc(FILE *stream);
39
- int getchar(void);
40
- char *gets(char *s);
41
- int ungetc(int c, FILE *stream);
42
- int fflush(FILE *stream);
43
- int puts(const char *s);
44
- int putchar (int c);
45
-
46
- int printf(const char *format, ...);
47
- int fprintf(FILE *stream, const char *format, ...);
48
- int sprintf(char *str, const char *format, ...);
49
- int snprintf(char *str, size_t size, const char *format, ...);
50
- int asprintf(char **strp, const char *format, ...);
51
- int dprintf(int fd, const char *format, ...);
52
- int vprintf(const char *format, va_list ap);
53
- int vfprintf(FILE *stream, const char *format, va_list ap);
54
- int vsprintf(char *str, const char *format, va_list ap);
55
- int vsnprintf(char *str, size_t size, const char *format, va_list ap);
56
- int vasprintf(char **strp, const char *format, va_list ap);
57
- int vdprintf(int fd, const char *format, va_list ap);
58
-
59
- void perror(const char *s);
60
-
61
- /* string.h */
62
- char *strcat(char *dest, const char *src);
63
- char *strchr(const char *s, int c);
64
- char *strrchr(const char *s, int c);
65
- char *strcpy(char *dest, const char *src);
66
- void *memcpy(void *dest, const void *src, size_t n);
67
- void *memmove(void *dest, const void *src, size_t n);
68
- void *memset(void *s, int c, size_t n);
69
- char *strdup(const char *s);
70
- size_t strlen(const char *s);
71
-
72
- /* dlfcn.h */
73
- #define RTLD_LAZY 0x001
74
- #define RTLD_NOW 0x002
75
- #define RTLD_GLOBAL 0x100
76
-
77
- void *dlopen(const char *filename, int flag);
78
- const char *dlerror(void);
79
- void *dlsym(void *handle, char *symbol);
80
- int dlclose(void *handle);
81
-
82
- #endif /* _TCCLIB_H */
1
+ /* Simple libc header for TCC
2
+ *
3
+ * Add any function you want from the libc there. This file is here
4
+ * only for your convenience so that you do not need to put the whole
5
+ * glibc include files on your floppy disk
6
+ */
7
+ #ifndef _TCCLIB_H
8
+ #define _TCCLIB_H
9
+
10
+ #include <stddef.h>
11
+ #include <stdarg.h>
12
+
13
+ /* stdlib.h */
14
+ void *calloc(size_t nmemb, size_t size);
15
+ void *malloc(size_t size);
16
+ void free(void *ptr);
17
+ void *realloc(void *ptr, size_t size);
18
+ int atoi(const char *nptr);
19
+ long int strtol(const char *nptr, char **endptr, int base);
20
+ unsigned long int strtoul(const char *nptr, char **endptr, int base);
21
+ void exit(int);
22
+ void *alloca(size_t);
23
+
24
+ /* stdio.h */
25
+ typedef struct __FILE FILE;
26
+ #define EOF (-1)
27
+ extern FILE *stdin;
28
+ extern FILE *stdout;
29
+ extern FILE *stderr;
30
+ FILE *fopen(const char *path, const char *mode);
31
+ FILE *fdopen(int fildes, const char *mode);
32
+ FILE *freopen(const char *path, const char *mode, FILE *stream);
33
+ int fclose(FILE *stream);
34
+ size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream);
35
+ size_t fwrite(void *ptr, size_t size, size_t nmemb, FILE *stream);
36
+ int fgetc(FILE *stream);
37
+ char *fgets(char *s, int size, FILE *stream);
38
+ int getc(FILE *stream);
39
+ int getchar(void);
40
+ char *gets(char *s);
41
+ int ungetc(int c, FILE *stream);
42
+ int fflush(FILE *stream);
43
+ int puts(const char *s);
44
+ int putchar (int c);
45
+
46
+ int printf(const char *format, ...);
47
+ int fprintf(FILE *stream, const char *format, ...);
48
+ int sprintf(char *str, const char *format, ...);
49
+ int snprintf(char *str, size_t size, const char *format, ...);
50
+ int asprintf(char **strp, const char *format, ...);
51
+ int dprintf(int fd, const char *format, ...);
52
+ int vprintf(const char *format, va_list ap);
53
+ int vfprintf(FILE *stream, const char *format, va_list ap);
54
+ int vsprintf(char *str, const char *format, va_list ap);
55
+ int vsnprintf(char *str, size_t size, const char *format, va_list ap);
56
+ int vasprintf(char **strp, const char *format, va_list ap);
57
+ int vdprintf(int fd, const char *format, va_list ap);
58
+
59
+ void perror(const char *s);
60
+
61
+ /* string.h */
62
+ char *strcat(char *dest, const char *src);
63
+ char *strchr(const char *s, int c);
64
+ char *strrchr(const char *s, int c);
65
+ char *strcpy(char *dest, const char *src);
66
+ void *memcpy(void *dest, const void *src, size_t n);
67
+ void *memmove(void *dest, const void *src, size_t n);
68
+ void *memset(void *s, int c, size_t n);
69
+ char *strdup(const char *s);
70
+ size_t strlen(const char *s);
71
+
72
+ /* dlfcn.h */
73
+ #define RTLD_LAZY 0x001
74
+ #define RTLD_NOW 0x002
75
+ #define RTLD_GLOBAL 0x100
76
+
77
+ void *dlopen(const char *filename, int flag);
78
+ const char *dlerror(void);
79
+ void *dlsym(void *handle, char *symbol);
80
+ int dlclose(void *handle);
81
+
82
+ #endif /* _TCCLIB_H */