Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用炼金术来编译 C 代码。
这是我正在编译的方式
gcc oggvorbis.c -O3 -Wall -swc oggvorbis.swc -lvorbis
我收到一个错误
llvm-gcc: oggvorbis.swc: No such file or directory.
但是当我不使用任何共享库时,该命令可以正常工作。
您的命令行调用可能应该是(未经测试)
gcc oggvorbis.c -O3 -Wall -swc -o oggvorbis.swc -lvorbis