[Live-devel] How do I compile a 32-bit version of Live555 Streaming Media on OS X?

Warren Young warren at etr-usa.com
Thu Sep 29 07:36:29 PDT 2011


On 9/28/2011 3:42 PM, Ross Finlayson wrote:
>> The default compile of Live555 Streaming Media on OSX is x86_64.
>>
>> How can I configure the build system to create 32-bit versions of the
>> static libraries?
>
> I'm not sure

There are two common ways:

- Use gcc4.0 and g++4.0 instead of "gcc" and "g++", which are symlinks 
to the 64-bit-by-default GCC 4.2 compilers.  The GCC 4.0 compilers are 
the 32-bits-by-default Leopard ones, provided for backwards 
compatibility in Snow Leopard and Lion.

- Pass -m32 to the compiler and linker.

The necessary changes to config.macosx should be obvious.


More information about the live-devel mailing list