-
Zig❤️ 에서 ld 링커 사용하는 명령어 겁나게 길다.코딩Coding/Zig_❤️lang 2022. 8. 26. 23:11728x90
Zig, and zig ld in particular, has the ability to link against frameworks when cross-compiling
$ zig cc -target aarch64-macos --sysroot=/home/kubkon/macos-SDK -I/usr/include -L/usr/lib -F/System/Library/Frameworks -framework Foundation -o hello hello.c
https://github.com/ziglang/zig/wiki/FAQ#where-is-the-documentation-for-the-zig-standard-library
반응형'코딩Coding > Zig_❤️lang' 카테고리의 다른 글
Zig's I/O and Concurrency Story - King Protty - Software You Can Love 2022 (0) 2022.10.29 Ziglibc: Sweeping out the rug from underneath C - Jonathan Marler - (0) 2022.10.24 Packed structs in Zig make bit/flag sets trivial (0) 2022.08.31 ziglings 벌써 다 푼 분이 있다. ㅎㅎ 역시 괴물이 많구만 ㅋㅋ (0) 2022.08.26 A Review of the Zig❤️Programming Language (using Advent of Code 2021) (0) 2022.08.10 Unsafe Zig ❤️ is Safer than Unsafe Rust (0) 2022.08.10 미친듯한 속도 Zig❤️로 만든 Bun❤️ - Nomad Coders (0) 2022.08.08 zig - 데이터 자르기 , 오버플로우, 수학 함수 (0) 2022.08.06