[Vorbis] Re: Oggenc/oggdec on Mac OS X

Adam D. Moss aspirin at ntlworld.com
Wed Nov 16 05:39:47 PST 2005


Daniel Mario Vega wrote:
>> gcc -o oggenc oggenc.o foo.o /usr/local/lib/libvorbisenc.a \
>>   /usr/local/lib/libvorbis.a /usr/local/lib/libogg.a -lm
>>
>> Try variations on that and see if you can get something to work.
>>   
> That should work, the only problem is that the full library is included 
> in the final executable instead of only the needed/used library object 
> files (as a normal static linking would work).

That should not be true - at least, it is not true here on x86
with a really crusty old gnu ld and toolchain, where only objects
with referenced symbols end up in the executable.

--Adam



More information about the Vorbis mailing list