[OpenIndiana-discuss] VLC dependancy libs
russell
stream at willows7.myzen.co.uk
Thu Mar 12 21:08:26 UTC 2015
Hi
Found the following worked to build live555 streaming media server
live$ more config.openindiana-32bit
COMPILE_OPTS = $(INCLUDES) -I. -O -DSOLARIS -DXLOCALE_NOT_USED
-DSOCKLEN_T=socklen_t -fpic
C = c
C_COMPILER = gcc
C_FLAGS = $(COMPILE_OPTS)
CPP = cpp
CPLUSPLUS_COMPILER = c++
CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall
OBJ = o
LINK = c++ -o
LINK_OPTS = -L.
CONSOLE_LINK_OPTS = $(LINK_OPTS)
LIBRARY_LINK = ld -o
LIBRARY_LINK_OPTS = $(LINK_OPTS) -shared
LIB_SUFFIX = so
LIBS_FOR_CONSOLE_APPLICATION = -lsocket -lnsl
LIBS_FOR_GUI_APPLICATION = $(LIBS_FOR_CONSOLE_APPLICATION)
EXE =
On 12/03/2015 21:03, russell wrote:
> Hi Alexander,
>
> I also need to build live555 streaming media but need to create a
> config.openindiana-32bit I modified the solaris 32bit file
>
> live$ more config.openindiana-32bit
> COMPILE_OPTS = $(INCLUDES) -I. -O -DSOLARIS -DXLOCALE_NOT_USED
> -DSOCKLEN_T=socklen_t
> C = c
> C_COMPILER = gcc
> C_FLAGS = $(COMPILE_OPTS)
> CPP = cpp
> CPLUSPLUS_COMPILER = c++
> CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall
> OBJ = o
> LINK = c++ -o
> LINK_OPTS = -L.
> CONSOLE_LINK_OPTS = $(LINK_OPTS)
> LIBRARY_LINK = ld -o
> LIBRARY_LINK_OPTS = $(LINK_OPTS) -shared
> LIB_SUFFIX = so
> LIBS_FOR_CONSOLE_APPLICATION = -lsocket -lnsl
> LIBS_FOR_GUI_APPLICATION = $(LIBS_FOR_CONSOLE_APPLICATION)
> EXE =
>
> Can you suggest correct options for a shared library build
>
>
> On 12/03/2015 20:44, Alexander Pyhalov wrote:
>> CC=gcc CFLAGS='-std=c99' CPPFLAGS=-I/opt/gnu/include
>> LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu --enable-shared
>> --without-trust-paths
>
More information about the openindiana-discuss
mailing list