Hello, I succeed to build livemedia with MinGW directly on windows. Maybe this can be included with minor change in the livemedia version.
I just want to share it. genWindowsMinGWMakefiles.cmd ----------------------------- @Echo OFF SETLOCAL for %%I in (%0) do %%~dI for %%I in (%0) do cd "%%~pI" set CONFIG_FILE=config.mingw if NOT "%1" == "" ( set CONFIG_FILE=config.%1 ) type Makefile.head .\%CONFIG_FILE% Makefile.tail > Makefile cd liveMedia del /Q Makefile type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile cd ../groupsock del /Q Makefile type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile cd ../UsageEnvironment del /Q Makefile type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile cd ../BasicUsageEnvironment del /Q Makefile type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile cd ../testProgs del /Q Makefile type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile cd ../mediaServer del /Q Makefile type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile cd ../proxyServer del /Q Makefile type Makefile.head ..\%CONFIG_FILE% Makefile.tail > Makefile ENDLOCAL config.mingw ------------------- COMPILER_ROOT=C:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32mingw32 CC=${COMPILER_ROOT}\bin\gcc.exe CXX=${COMPILER_ROOT}\bin\g++.exe LD=${COMPILER_ROOT}\bin\ld.exe COMPILE_OPTS = $(INCLUDES) -I. -O -DSOCKLEN_T=int -DLOCALE_NOT_USED C = c C_COMPILER = $(CC) C_FLAGS = $(COMPILE_OPTS) -DUSE_OUR_BZERO=1 -D__MINGW32__ CPP = cpp CPLUSPLUS_COMPILER = $(CXX) #CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -D__MINGW32__ -Wall -Wno-deprecated CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -D__MINGW32__ OBJ = o LINK = $(CXX) -o LINK_OPTS = -L. CONSOLE_LINK_OPTS = $(LINK_OPTS) LIBRARY_LINK = $(LD) -o LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic -m i386pe LIB_SUFFIX = a LIBS_FOR_CONSOLE_APPLICATION = -lws2_32 LIBS_FOR_GUI_APPLICATION = -lws2_32 EXE = PREFIX = C:/lib/live555-mingw32-release LIBDIR = $(PREFIX)/lib Makefile.tail ------------- Replace all "cd $(LIVEMEDIA_DIR) ; $(MAKE)" by "cd $(LIVEMEDIA_DIR) && $(MAKE)" Build.bat ------------- set PATH=%PATH%;c:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\bin mingw32-make.exe mingw32-make.exe install Regards, -- Eric Beuque Software architect / developer | Jet1oeil 5 rue Victor Considérant - 25770 Chemaudin-et-Vaux +33 (0)3 81 50 51 50 | http://www.jet1oeil.com/
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel