如何在Mac OS X上创建.c文件的静态版本?当我尝试:
gcc -o test Main.c -static
我明白了:
ld: library not found for -lcrt0.o collect2: ld returned 1 exit status
c macos static gcc
c ×1
gcc ×1
macos ×1
static ×1