Alex Rønne Petersen
ba37a4369b
std.zig.WindowsSdk: Support cross-arch SDK lookups.
...
This makes e.g. cross-compiling for x86-windows-msvc on a x86_64-windows-msvc
system work properly.
Closes #11926 .
2024-12-08 04:53:28 +01:00
Andrew Kelley
14c8e270bb
link: fix false positive crtbegin/crtend detection
...
Embrace the Path abstraction, doing more operations based on directory
handles rather than absolute file paths. Most of the diff noise here
comes from this one.
Fix sorting of crtbegin/crtend atoms. Previously it would look at all
path components for those strings.
Make the C runtime path detection partially a pure function, and move
some logic to glibc.zig where it belongs.
2024-10-10 14:21:52 -07:00
Alex Rønne Petersen
537a873b17
Initial port work for *-windows-itanium support.
...
https://llvm.org/docs/HowToBuildWindowsItaniumPrograms.html
This is a weird middle ground between `*-windows-gnu` and `*-windows-msvc`. It
uses the C++ ABI of the former while using the system libraries of the latter.
2024-09-28 21:43:52 +02:00
Andrew Kelley
f47824f24d
std: restructure child process namespace
2024-05-26 09:31:55 -07:00
Jacob Young
425e38b6e0
WindowsSdk: fix for new x86_64-windows CI
2024-04-14 21:26:08 -04:00
Jakub Konka
23f729aec9
Merge pull request #19260 from mikdusan/macos-zippered
...
macos: add zippered support
2024-04-05 23:37:51 +02:00
Jacob Young
71d878ba50
std.zig: remove extraneous newlines in log messages
2024-03-27 01:55:42 -04:00
Michael Dusan
22fd1851bd
zig libc: allow non-native targets
...
On macos, allow targets supported by the SDK. This then spawns `xcrun`
and correct paths are emitted for:
- x86_64-macos
- x86_64-ios
- x86_64-tvos
- x86_64-watchos
- x86_64-ios-macbi
- aarch64-macos
- aarch64-ios
- aarch64-tvos
- aarch64-watchos
- aarch64-ios-macbi
On platforms with android NDK, allow android targets. Example usage:
```
CC=/NDK/.../bin/aarch64-linux-android34-clang zig libc -target aarch64-linux-android
```
2024-03-13 02:17:28 -04:00
Andrew Kelley
a4380a30f5
move zig libc command to be lazily built
...
part of #19063
This is a prerequisite for doing the same for Resinator.
2024-02-27 22:55:00 -07:00