[Live-devel] Updated iOS config for genMakeFiles

Braden Ackerman backerman at icontrol.com
Thu Dec 11 14:55:14 PST 2014


Ross,

You're kind enough to spend time answering the plentiful (and often dumb) questions on this mailing list so I'll contribute to Live555 in anyway I can.
I've got a few subclasses I'm thinking about contributing after they're cleaned up.
For now:
I needed Live555 for iOS 8.* built with Xcode 6, so I modified the config.iphoneos file to make it work.
Perhaps this can be added as config.iphoneosclang. What broke the old config.iphoneos was Apple moving to clang compiler for new Xcode versions (no more g++).

Hope this helps someone.

Braden


# Change the following version number, if necessary, before running "genMakefiles iphoneos"
IOS_VERSION = 8.1

DEVELOPER_PATH = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
TOOL_PATH = $(DEVELOPER_PATH)/usr/bin
SDK_PATH = $(DEVELOPER_PATH)/SDKs
SDK = $(SDK_PATH)/iPhoneOS$(IOS_VERSION).sdk
COMPILE_OPTS =          $(INCLUDES) -I. $(EXTRA_LDFLAGS) -DBSD=1 -O2 -DSOCKLEN_T=socklen_t -DHAVE_SOCKADDR_LEN=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -arch armv7 --sysroot=$(SDK)
C =                     c
C_COMPILER =            /usr/bin/xcrun clang
C_FLAGS =               $(COMPILE_OPTS)
CPP =                   cpp
CPLUSPLUS_COMPILER =    /usr/bin/xcrun clang
CPLUSPLUS_FLAGS =       $(COMPILE_OPTS) -Wall
OBJ =                   o
LINK =                  /usr/bin/xcrun clang -o
LINK_OPTS =             -L. -arch armv7 --sysroot=$(SDK) -L$(SDK)/usr/lib/system
CONSOLE_LINK_OPTS =     $(LINK_OPTS)
LIBRARY_LINK =          libtool -s -o
LIBRARY_LINK_OPTS =
LIB_SUFFIX =            a
LIBS_FOR_CONSOLE_APPLICATION =
LIBS_FOR_GUI_APPLICATION =
EXE =?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20141211/e2e0c4a7/attachment.html>


More information about the live-devel mailing list