[vorbis-dev] Macintosh support (again)

Chris Hanson cmh at bDistributed.com
Fri Oct 6 11:15:21 PDT 2000



At 11:02 AM -0700 10/6/00, Monty wrote:
>  > Also, vorbis/lib still includes framing.c and bitwise.c and they're
>  > still referenced in the makefiles.  Should vorbis just link with the
>  > ogg library for this stuff, or will that come later?
>
>Check out the branch tag branch_postbeta2 for the vorbis module.

Thanks, Monty and Jack, for pointing this out.  This branch works 
with a little tweaking which can be put back into the repository (it 
only affects the Macintosh side of things).

Here's what I had to do:

1. Revise the exports file (libvorbis.mcp.exp) for the shared library 
to include only the functions in <vorbis/codec.h>.

2. Remove framing.c and bitwise.c from libvorbis.mcp.

3. Make a CodeWarrior project for Ogg under ogg/mac which generates 
"OggLib" and "OggLib Debug".

4. Copy everything in vorbis/mac/compat to ogg/mac/compat.

5. Add a user access path to both targets in libvorbis.mcp pointing 
to the Ogg project's folder.

6. Add a system access path to both targets in libvorbis.mcp pointing 
to the Ogg project's include folder.

7. Add OggLib to the VorbisLib target in libvorbis.mcp and add OggLib 
Debug to the VorbisLib Debug target in libvorbis.mcp.

Now both libraries build just fine.


-- 
Christopher M. Hanson
President & CEO
bDistributed.com, Inc.
cmh at bDistributed.com

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list