Alchemy C Code compilation

238 views Asked by At

I am using alchemy to compile the C code.

This is the way I am compiling

gcc oggvorbis.c -O3 -Wall -swc
oggvorbis.swc -lvorbis

I am getting an error

llvm-gcc: oggvorbis.swc: No such file
or directory.

But the command works fine when i don't use any shared library.

1

There are 1 answers

1
Christoph On BEST ANSWER

Your command line invocation should probably read (untested)

gcc oggvorbis.c -O3 -Wall -swc -o oggvorbis.swc -lvorbis