0

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.

Matteo Italia
  • 123,740
  • 17
  • 206
  • 299
karthick
  • 11,998
  • 6
  • 56
  • 88

1 Answers1

2

Your command line invocation should probably read (untested)

gcc oggvorbis.c -O3 -Wall -swc -o oggvorbis.swc -lvorbis
Christoph
  • 164,997
  • 36
  • 182
  • 240