Skip to content

Commit 606f5cd

Browse files
committed
generate a zig libc file for building libraries for macos
1 parent 5b1e185 commit 606f5cd

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

libc.txt

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# The directory that contains `stdlib.h`.
2+
# On POSIX-like systems, include directories be found with: `cc -E -Wp,-v -xc /dev/null`
3+
include_dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
4+
5+
# The system-specific include directory. May be the same as `include_dir`.
6+
# On Windows it's the directory that includes `vcruntime.h`.
7+
# On POSIX it's the directory that includes `sys/errno.h`.
8+
sys_include_dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
9+
10+
# The directory that contains `crt1.o` or `crt2.o`.
11+
# On POSIX, can be found with `cc -print-file-name=crt1.o`.
12+
# Not needed when targeting MacOS.
13+
crt_dir=
14+
15+
# The directory that contains `vcruntime.lib`.
16+
# Only needed when targeting MSVC on Windows.
17+
msvc_lib_dir=
18+
19+
# The directory that contains `kernel32.lib`.
20+
# Only needed when targeting MSVC on Windows.
21+
kernel32_lib_dir=
22+
23+
# The directory that contains `crtbeginS.o` and `crtendS.o`
24+
# Only needed when targeting Haiku.
25+
gcc_dir=

0 commit comments

Comments
 (0)