Jonathan Marler
61bcac108c
Add more mingw def files
...
I've added more of the ".def" files from mingw. The list is based on all the libraries referenced by the win32metadata project. (see https://github.com/marlersoft/zigwin32 ).
2021-02-10 13:38:16 -08:00
Christian Wesselhoeft
b3f4802aa0
mingw-w64: add .def files for xaudio2_8
2020-12-15 15:00:39 -05:00
Andrew Kelley
5b56f4e48a
mingw-w64: add .def files for xinput1_4
...
closes #7398
2020-12-11 11:12:23 -07:00
Andrew Kelley
a1d3886ff0
mingw-w64: add support for -lwldap32
...
closes #7395
2020-12-11 00:50:28 -07:00
Andrew Kelley
7c93d9aacb
mingw-w64: patch to silence implicit-function-declaration warnings
...
Closes #7356
I did this as a patch to the source rather than passing flags so that
it would intentionally be reverted when we update to the next release of
mingw-w64. At this time if any warnings are still emitted we should find
out why and make sure upstream is aware of the problem.
2020-12-09 16:12:03 -07:00
Andrew Kelley
58241364cb
add more mingw-w64 .def files
...
closes #7268
2020-12-03 18:03:34 -07:00
Alexandros Naskos
3e1639c53b
Fixed mingw-w64 8.0.0 compilation
...
Reaplied mingw-w64 header patch
2020-11-05 20:04:25 +02:00
Alexandros Naskos
708962d51e
Updated mingw-w64 to version 8.0.0
2020-11-05 18:59:36 +02:00
LemonBoy
1b2d50737a
mingw: Add user32.def for 32bit Windows
...
Closes #6479
2020-10-01 11:27:59 +02:00
Andrew Kelley
b3aef49eea
zig provides shlwapi.lib for *-windows-gnu
...
closes #3711
2020-04-08 01:21:00 -04:00
Andrew Kelley
fc662ddd54
mingw-w64: add 32-bit version.def
...
fixes -lversion on 32-bit windows builds
2020-04-06 20:31:00 -04:00
Andrew Kelley
9ed00b3829
provide ___mb_cur_max_func for i386-windows-gnu
2020-04-06 19:26:31 -04:00
Andrew Kelley
28d9696617
use mingw-w64 to provide -luuid if requested
2020-04-05 23:06:47 -04:00
Andrew Kelley
f407109070
zig c++: get it working with musl and mingw-w64
2020-03-27 12:38:52 -04:00
Andrew Kelley
c0242f2310
update mingw-w64 source files to v7.0.0
2020-03-05 15:41:28 -05:00
LemonBoy
9ffc13b6c4
windows: Add psapi API
...
Export both the "old-style" definitions from psapi and the "new-style"
ones from kernel32.
2020-01-31 23:50:26 +01:00
Andrew Kelley
55202a021a
add missing license files
2019-12-02 16:02:03 -05:00
Andrew Kelley
10f6176f3d
only look for .defs when needed; remove samsrv.dll cross compiling support
...
previously zig would look for all the .defs even when not needed,
wasting time. also, we only had samsrv definitions for some architectures.
remove cross compiling support for this.
2019-10-16 13:12:35 -04:00
Andrew Kelley
5bfea3f1ea
add more cross compiling support for windows system dlls
2019-10-16 12:43:57 -04:00
Andrew Kelley
f81d9d2c84
add cross compiling support for opengl32.dll
2019-10-16 12:16:35 -04:00
LemonBoy
c9a3c945db
Add a bunch of mingw lib32 .def files
...
Possibly incomplete, but enough to let the test suite compile & pass.
2019-10-09 22:44:36 +02:00
Andrew Kelley
851a7288a9
mingw libc can link against ntdll
2019-07-15 18:25:13 -04:00
Andrew Kelley
49d1a4c562
move lib dirs to lib subdir
...
also start prefering NtDll API. so far:
* NtQueryInformationFile
* NtClose
adds a performance workaround for windows unicode conversion. but that
should probably be removed before merging
2019-07-15 17:54:50 -04:00