mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
readme: add note about discovering libc path
This commit is contained in:
parent
f5a3281877
commit
1b1453293e
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ compromises backward compatibility.
|
||||||
|
|
||||||
### Debug / Development Build
|
### Debug / Development Build
|
||||||
|
|
||||||
|
If you have gcc or clang installed, you can find out what `ZIG_LIBC_DIR` should
|
||||||
|
be set to with: `dirname $(cc -print-file-name=crt1.o)`.
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue