Andrew Kelley
74c17aa8c5
mingw-w64: add .def files for xinput1_4
...
closes #7398
2020-12-11 17:23:50 -07:00
Andrew Kelley
465b90c1fa
mingw-w64: add support for -lwldap32
...
closes #7395
2020-12-11 00:51:28 -07:00
Andrew Kelley
d9c808e3ff
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 17:32:32 -07:00
Andrew Kelley
ad95eecf37
glibc: additionally provide -lcrypt
...
also remove redundant "util" string matching.
2020-12-08 13:56:21 -07:00
Andrew Kelley
a1d0c77539
add more mingw-w64 .def files
...
closes #7268
2020-12-03 18:04:39 -07:00
Andrew Kelley
d2445764a9
restore -target wasm32-freestanding-musl for C headers
...
See #5854
Some tiny tweaks too:
* Use `wasm-freestanding-musl` instead of `wasm32-freestanding-musl`,
making it pointer-size-agnostic.
* Fix trying to build non-existent wasm musl start files.
2020-11-30 20:58:31 -07:00
Andrew Kelley
e5fab3ba68
update musl sources to 1.2.1
2020-11-06 14:13:57 -07:00
Andrew Kelley
dba94f453a
update musl headers to 1.2.1
2020-11-06 13:53:47 -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
Andrew Kelley
11a9eff36e
add another copyright notice to macos stdint.h
2020-10-21 19:58:47 -07:00
Jakub Konka
7d0acacfc3
Add minimal set of macOS libc headers
...
Signed-off-by: Jakub Konka <kubkon@jakubkonka.com>
2020-10-21 19:45:21 -07:00
LemonBoy
1b2d50737a
mingw: Add user32.def for 32bit Windows
...
Closes #6479
2020-10-01 11:27:59 +02:00
Andrew Kelley
19d5dfba5f
update glibc ABI files to 2.32
2020-08-30 21:28:11 -07:00
Andrew Kelley
dd8cc6b0f1
update glibc headers to 2.32
2020-08-30 21:27:30 -07:00
Andrew Kelley
fd9f509d6d
Revert "Merge pull request #6137 from Jan200101/update/glibc-2.32"
...
This reverts commit bb9c3118ed5fdc16b8e2d9882375005c2a62d0cc, reversing
changes made to 7015d84e0ca6f02fede45621571084df98dda712.
This is missing quite a few headers
2020-08-24 15:19:34 -07:00
Jan200101
53a2431713
update glibc abi list for 2.32
2020-08-22 22:43:01 +02:00
Jan200101
c61ea4cdb7
update glibc headers to 2.32
2020-08-22 22:42:58 +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
d02838b71a
add libutil to zig's glibc support
2020-04-04 14:43:51 -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
245dc9d930
include ld symbols when generating glibc dummy objects
...
closes #4748
2020-03-20 12:59:37 -04:00
Andrew Kelley
edd6643a26
update musl src files to v1.2.0
2020-03-12 17:17:57 -04:00
Andrew Kelley
205c413962
update musl headers to v1.2.0
2020-03-12 16:26:14 -04:00
Andrew Kelley
20ac253859
reapply mingw-w64 header patches
...
Fix compilation w/ clang
f83bb3dd9e68899ca39cdddb7d84c2ad1c833d55
2020-03-05 15:41:28 -05:00
Andrew Kelley
c0242f2310
update mingw-w64 source files to v7.0.0
2020-03-05 15:41:28 -05:00
Andrew Kelley
8e5913cfee
update mingw-w64 headers to v7.0.0
2020-03-05 15:41:28 -05:00
Andrew Kelley
3ff2381042
update glibc source files to 2.31
...
This is mostly minor modifications to license text.
2020-03-04 14:59:09 -05:00
Andrew Kelley
b21d44f26a
update glibc abilists for 2.31
2020-03-04 00:07:15 -05:00
Andrew Kelley
67480cd515
update glibc headers to 2.31
2020-03-03 22:46:57 -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
88b9579488
update musl src to v1.1.24
2019-10-17 11:55:43 -04:00
Andrew Kelley
1135c9523b
update musl headers to v1.1.24
2019-10-17 11:47:57 -04: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
LemonBoy
f83bb3dd9e
Fix compilation w/ clang
...
Clang pretends to be gcc 4.4 and that causes some re-definition errors.
The problem has been reported to the upstream some time ago but nothing
was done about it.
2019-10-09 22:44:35 +02:00
LemonBoy
a220648198
Backport patch for Musl libc
...
Allows musl to compile for mipsel targets.
https://www.openwall.com/lists/musl/2019/09/27/1/2
2019-09-27 18:20:00 +02:00
Andrew Kelley
40e77dad83
musl [PATCH] arm: fix setjmp and longjmp asm for armv8-a
...
From: Szabolcs Nagy <szabolcs.nagy@arm.com>
armv8 removed the coprocessor instructions other than cp14, so
on an armv8 system the related hwcaps should never be set.
new llvm complains about the use of coprocessor instructions in
armv8-a mode (even though they are never executed at runtime),
so ifdef them out when musl is built for armv8.
<dalias> i think the patch looks ok
2019-09-25 15:15:52 -04:00
Andrew Kelley
c161ce3f7c
mingw-w64 libc: fix incorrect detection of _xgetbv
...
It was using __GNUC__ < 8 to check if _xgetbv intrinsic is available.
Since we always use zig cc with this header, we know we have clang 9,
which does have this intrinsic.
2019-09-22 19:10:27 -04:00
Andrew Kelley
92a427437c
Merge remote-tracking branch 'origin/master' into llvm9
2019-09-10 16:53:11 -04:00
Andrew Kelley
7101e583d6
update glibc src files to 2.30
2019-09-10 16:40:54 -04:00
Andrew Kelley
185cb13278
Merge remote-tracking branch 'origin/master' into llvm9
2019-09-10 13:00:35 -04:00
Andrew Kelley
b21ad07767
update glibc ABI lists to 2.30
2019-09-07 15:04:09 -04:00
Andrew Kelley
45ab9d5fd6
update glibc headers to 2.30
2019-09-07 14:59:38 -04:00