Created
April 8, 2019 18:55
-
-
Save andrewrk/d7b350bef075f5877ffe54e382b19650 to your computer and use it in GitHub Desktop.
example of `zig libc` on windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\msys64\home\andy\dev\zig\build-release-llvm8>bin\zig.exe libc | |
# The directory that contains `stdlib.h`. | |
# On POSIX-like systems, include directories be found with: `cc -E -Wp,-v -xc /dev/null` | |
include_dir=C:\Program Files (x86)\Windows Kits\10\\Include\10.0.17134.0\ucrt | |
# The system-specific include directory. May be the same as `include_dir`. | |
# On Windows it's the directory that includes `vcruntime.h`. | |
# On POSIX it's the directory that includes `sys/errno.h`. | |
sys_include_dir=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\lib\x64\\..\..\include | |
# The directory that contains `crt1.o`. | |
# On POSIX, can be found with `cc -print-file-name=crt1.o`. | |
# Not needed when targeting MacOS. | |
crt_dir=C:\Program Files (x86)\Windows Kits\10\\Lib\10.0.17134.0\ucrt\x64\ | |
# The directory that contains `vcruntime.lib`. | |
# Only needed when targeting MSVC on Windows. | |
msvc_lib_dir=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\lib\x64\ | |
# The directory that contains `kernel32.lib`. | |
# Only needed when targeting MSVC on Windows. | |
kernel32_lib_dir=C:\Program Files (x86)\Windows Kits\10\\Lib\10.0.17134.0\um\x64\ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment